/LAST didn't work when window's max. number of lines was full + a few

cleanups.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@210 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-05-10 12:38:00 +00:00 committed by cras
commit d729474195
2 changed files with 4 additions and 8 deletions

View file

@ -181,11 +181,11 @@ static void cmd_lastlog(const char *data)
if (count == 0) count = -1;
level = lastlog_parse_args(args, &flags);
startline = lastlog_window_startline(flags & LASTLOG_FLAG_NEW);
if ((flags & LASTLOG_FLAG_NOHEADERS) == 0)
printformat(NULL, NULL, MSGLEVEL_LASTLOG, IRCTXT_LASTLOG_START);
startline = lastlog_window_startline(flags & LASTLOG_FLAG_NEW);
list = gui_window_find_text(active_win, text, startline, flags & LASTLOG_FLAG_REGEXP, flags & LASTLOG_FLAG_WORD);
tmp = lastlog_find_startline(list, count, atoi(start), level);