From fbb57685ed2c5633f7c76acb7cf2c9bd9d4897b3 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Mon, 13 Aug 2007 16:11:55 +0200 Subject: [PATCH] getmax[xy] do that, even if obsolete, I don't care, I'll use them. Signed-off-by: Pierre Habouzit --- lib-ui/layout.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib-ui/layout.h b/lib-ui/layout.h index b6e1446..82425fc 100644 --- a/lib-ui/layout.h +++ b/lib-ui/layout.h @@ -31,16 +31,4 @@ void mutt_need_hard_redraw(void); void mutt_refresh(void); void mutt_endwin(const char *); -static inline int ui_get_width(WINDOW *w) { - int x, y; - getmaxyx(w, y, x); - return y; -} - -static inline int ui_get_height(WINDOW *w) { - int x, y; - getmaxyx(w, y, x); - return x; -} - #endif -- 2.20.1