mcabber/src/commands.c
changeset 361 51ff319947c3
parent 336 eb994ee40029
child 364 33b8e801ffa6
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 }