mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
Don't allow jumping to last line in history from first line
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@567 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f2e1be391c
commit
b26ea5d4e7
@ -93,8 +93,8 @@ const char *command_history_next(WINDOW_REC *window, const char *text)
|
||||
|
||||
pos = *phistpos;
|
||||
if (*phistpos == NULL)
|
||||
*phistpos = window_history ? window->cmdhist : cmdhist;
|
||||
else
|
||||
return "";
|
||||
|
||||
*phistpos = (*phistpos)->next;
|
||||
|
||||
if (*text != '\0' &&
|
||||
|
Loading…
Reference in New Issue
Block a user