summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 91082f3..db83f74 100644
--- a/src/main.c
+++ b/src/main.c
@@ -297,6 +297,8 @@ main (int argc, char *argv[])
char *alt_rcfile = NULL;
setlocale (LC_CTYPE, "");
+ utf8_check_locale();
+
if (XSupportsLocale ())
{
if (!XSetLocaleModifiers (""))
@@ -305,8 +307,6 @@ main (int argc, char *argv[])
else
PRINT_ERROR (("X doesn't seem to support your locale.\n"));
- utf8_check_locale();
-
/* Parse the arguments */
myargv = argv;
while (1)