X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=driver%2Ftest-passwd.c;h=6563bd8d9306c6b8edf966be675249bf3bc8335b;hp=65615dd581da47c468921605dfcd3d73675b40d2;hb=ec8d2b32b63649e6d32bdfb306eda062769af823;hpb=1d7308dd9032b39a92fda86e8c2db04218b45fbf diff --git a/driver/test-passwd.c b/driver/test-passwd.c index 65615dd5..6563bd8d 100644 --- a/driver/test-passwd.c +++ b/driver/test-passwd.c @@ -202,7 +202,7 @@ main (int argc, char **argv) progclass = "XScreenSaver"; - if (!setlocale(LC_ALL,"")) + if (!setlocale (LC_CTYPE, "")) fprintf (stderr, "%s: warning: could not set default locale\n", progname);