--- a/mcabber/src/screen.c Sun Dec 03 21:15:37 2006 +0100
+++ b/mcabber/src/screen.c Mon Dec 04 19:05:58 2006 +0100
@@ -117,13 +117,6 @@
/* Functions */
-static int scr_WindowWidth(WINDOW * win)
-{
- int x, y;
- getmaxyx(win, y, x);
- return x;
-}
-
static int FindColor(const char *name)
{
if (!strcmp(name, "default"))
@@ -504,7 +497,7 @@
GList *hbuf_head;
char date[64];
- width = scr_WindowWidth(win_entry->win);
+ width = getmaxx(win_entry->win);
// Should the window be empty?
if (win_entry->cleared) {