about 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, 2 insertions, 2 deletions
diff --git a/locale/indigitswc.h b/locale/indigitswc.h
index 8afbb7ea17..7bd871527e 100644
--- a/locale/indigitswc.h
+++ b/locale/indigitswc.h
@@ -49,7 +49,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);
 
-      if (wc == wcdigits[n])
+      if (wc == *wcdigits[n])
 	{
 	  /* Found it.  */
 	  if (*decided == -1)
@@ -67,7 +67,7 @@ indigitwc_value (wchar_t wc, int *decided)
       /* Search all ten digits of this level.  */
       for (n = 0; n < 10; ++n)
 	{
-	  if (wc == wcdigits[n])
+	  if (wc == *wcdigits[n])
 	    {
 	      /* Found it.  */
 	      if (*decided == -1)