mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
/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:
parent
ee254bd146
commit
d729474195
2 changed files with 4 additions and 8 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue