comparison 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
comparison
equal deleted inserted replaced
360:20283b69db99 361:51ff319947c3
561 } 561 }
562 562
563 static void do_buffer(char *arg) 563 static void do_buffer(char *arg)
564 { 564 {
565 if (!strcasecmp(arg, "top")) { 565 if (!strcasecmp(arg, "top")) {
566 scr_BufferTop(); 566 scr_BufferTopBottom(-1);
567 } else if (!strcasecmp(arg, "bottom")) { 567 } else if (!strcasecmp(arg, "bottom")) {
568 scr_BufferBottom(); 568 scr_BufferTopBottom(1);
569 } else if (!strcasecmp(arg, "clear")) { 569 } else if (!strcasecmp(arg, "clear")) {
570 scr_Clear(); 570 scr_Clear();
571 } else 571 } else
572 scr_LogPrint("Unrecognized parameter!"); 572 scr_LogPrint("Unrecognized parameter!");
573 } 573 }