diff mcabber/src/commands.c @ 361:51ff319947c3

Code cleanup/optimization
author Mikael Berthe <mikael@lilotux.net>
date Sat, 23 Jul 2005 21:50:06 +0100
parents eb994ee40029
children 33b8e801ffa6
line wrap: on
line diff
--- a/mcabber/src/commands.c	Sat Jul 23 15:21:53 2005 +0100
+++ b/mcabber/src/commands.c	Sat Jul 23 21:50:06 2005 +0100
@@ -563,9 +563,9 @@
 static void do_buffer(char *arg)
 {
   if (!strcasecmp(arg, "top")) {
-    scr_BufferTop();
+    scr_BufferTopBottom(-1);
   } else if (!strcasecmp(arg, "bottom")) {
-    scr_BufferBottom();
+    scr_BufferTopBottom(1);
   } else if (!strcasecmp(arg, "clear")) {
     scr_Clear();
   } else