From: Pierre Habouzit Date: Mon, 13 Aug 2007 14:11:55 +0000 (+0200) Subject: getmax[xy] do that, even if obsolete, I don't care, I'll use them. X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=fbb57685ed2c5633f7c76acb7cf2c9bd9d4897b3;p=apps%2Fmadmutt.git getmax[xy] do that, even if obsolete, I don't care, I'll use them. Signed-off-by: Pierre Habouzit --- 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