commit 33a031d7970bcb4a9dad4a3caa521b74299496db
parent e0394ea3f8081eb45cdd64c72a602120847fb11a
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 24 Oct 2009 19:08:56 +0000
better
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/main/extractor.c b/src/main/extractor.c
@@ -1460,7 +1460,10 @@ EXTRACTOR_removeEmptyKeywords (EXTRACTOR_KeywordList * list) {
allWhite = 1;
for (i=strlen(pos->keyword)-1;i>=0;i--)
if (! isspace(pos->keyword[i]))
- allWhite = 0;
+ {
+ allWhite = 0;
+ break;
+ }
if (allWhite)
{
EXTRACTOR_KeywordList * next;