(hard_locale): Use "", not 0 as 2nd arg to setlocale.
authorJim Meyering <jim@meyering.net>
Mon, 16 Oct 2000 06:24:33 +0000 (06:24 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 16 Oct 2000 06:24:33 +0000 (06:24 +0000)
From Jan Fedak.

lib/hard-locale.c

index 1c75b39..8ce6fdd 100644 (file)
@@ -56,7 +56,7 @@ hard_locale (int category)
 #else
 
   int hard = 1;
-  char const *p = setlocale (category, 0);
+  char const *p = setlocale (category, "");
 
   if (p)
     {