loadlocale: don't casecmp digits

strcmp is sufficient here

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2020-09-04 14:21:10 +02:00
parent d72ea86d41
commit 12a94daf5f
1 changed files with 1 additions and 1 deletions

View File

@ -857,7 +857,7 @@ restart:
c = charset + 3; c = charset + 3;
if (*c == '-') if (*c == '-')
++c; ++c;
if (strcasecmp (c, "620")) if (strcmp (c, "620"))
FAIL; FAIL;
val = 874; val = 874;
strcpy (charset, "CP874"); strcpy (charset, "CP874");