JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Make time localized too.
authorMarco Peereboom <marco@conformal.com>
Mon, 28 Nov 2011 15:50:50 +0000 (09:50 -0600)
committerMarco Peereboom <marco@conformal.com>
Mon, 28 Nov 2011 15:50:50 +0000 (09:50 -0600)
Closes FS#71
From: valere monseur (dobedo)

scrotwm.c

index fa384f9..1144742 100644 (file)
--- a/scrotwm.c
+++ b/scrotwm.c
@@ -6329,7 +6329,8 @@ main(int argc, char *argv[])
        start_argv = argv;
        fprintf(stderr, "Welcome to scrotwm V%s Build: %s\n",
            SCROTWM_VERSION, buildstr);
-       if (!setlocale(LC_CTYPE, "") || !XSupportsLocale())
+       if (!setlocale(LC_CTYPE, "") || !setlocale(LC_TIME, "") ||
+           !XSupportsLocale())
                warnx("no locale support");
 
        if (!(display = XOpenDisplay(0)))