1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

/FORMAT tab completion went to infinite loop if there was more spaces than

one in the line..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2530 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-02-25 17:48:08 +00:00 committed by cras
parent 2d5978fdfe
commit c62e430a92

View File

@ -1157,6 +1157,8 @@ static void sig_complete_format(GList **list, WINDOW_REC *window,
words = 0;
do {
ptr++;
words++;
ptr = strchr(ptr, ' ');
} while (ptr != NULL);