1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05: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:
Timo Sirainen 2000-07-31 22:19:32 +00:00 committed by cras
parent f2e1be391c
commit b26ea5d4e7

View File

@ -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' &&