about summary refs log tree commit diff
path: root/localedata/tst-langinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-langinfo.c')
-rw-r--r--localedata/tst-langinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/localedata/tst-langinfo.c b/localedata/tst-langinfo.c
index b1179302d9..6d7250db9b 100644
--- a/localedata/tst-langinfo.c
+++ b/localedata/tst-langinfo.c
@@ -213,7 +213,7 @@ main (void)
 		  ++rp;
 		  if (*rp == '\0')
 		    break;
-		  if (*rp >= '\0' && *rp <= 'p')
+		  if (*rp >= '0' && *rp <= '9')
 		    {
 		      int val = *rp - '0';
 		      if (rp[1] >= '0' && rp[1] <= '9')