summary refs log tree commit diff
path: root/locale/programs/locfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/locfile.c')
-rw-r--r--locale/programs/locfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c
index 7749f6aebc..6385df47e8 100644
--- a/locale/programs/locfile.c
+++ b/locale/programs/locfile.c
@@ -612,7 +612,7 @@ from-value of `collating-element' must be a string"));
 		  now = lr_token (ldfile, charset);
 		}
 	      while (now->tok == tok_comma
-		     && (now == lr_token (ldfile, charset) != tok_none));
+		     && ((now = lr_token (ldfile, charset)) != tok_none));
 
 	      /* Check for consistency: forward and backwards are
 		 mutually exclusive.  */