summary refs log tree commit diff
path: root/locale/indigitswc.h
diff options
context:
space:
mode:
Diffstat (limited to 'locale/indigitswc.h')
-rw-r--r--locale/indigitswc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/locale/indigitswc.h b/locale/indigitswc.h
index 7bd871527e..9abe98e63b 100644
--- a/locale/indigitswc.h
+++ b/locale/indigitswc.h
@@ -48,6 +48,7 @@ indigitwc_value (wchar_t wc, int *decided)
     {
       /* Get the string for the digits with value N.  */
       wcdigits[n] = _NL_CURRENT (LC_CTYPE, _NL_CTYPE_INDIGITS0_WC + n);
+      wcdigits[n] += from_level;
 
       if (wc == *wcdigits[n])
 	{
@@ -78,9 +79,6 @@ indigitwc_value (wchar_t wc, int *decided)
 	  /* Advance the pointer to the next string.  */
 	  ++wcdigits[n];
 	}
-
-      /* Next level.  */
-      ++from_level;
     }
 
   /* If we reach this point no matching digit was found.  */