diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-25 17:48:08 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-25 17:48:08 +0000 |
commit | c62e430a9256671ec49ecef1fe92c5b365ab45e7 (patch) | |
tree | 766b19f0606ccb0a470c461cb65e894d5bf1079b /src/fe-common | |
parent | 2d5978fdfeb581a49e641882fc6be85c2c294ed1 (diff) | |
download | irssi-c62e430a9256671ec49ecef1fe92c5b365ab45e7.zip |
/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
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/core/themes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-common/core/themes.c b/src/fe-common/core/themes.c index 45a1f2e8..a004dd56 100644 --- a/src/fe-common/core/themes.c +++ b/src/fe-common/core/themes.c @@ -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); |