mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05: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:
parent
2d5978fdfe
commit
c62e430a92
@ -1157,6 +1157,8 @@ static void sig_complete_format(GList **list, WINDOW_REC *window,
|
|||||||
|
|
||||||
words = 0;
|
words = 0;
|
||||||
do {
|
do {
|
||||||
|
ptr++;
|
||||||
|
|
||||||
words++;
|
words++;
|
||||||
ptr = strchr(ptr, ' ');
|
ptr = strchr(ptr, ' ');
|
||||||
} while (ptr != NULL);
|
} while (ptr != NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user