Skip to content

Commit

Permalink
Shuffle some code
Browse files Browse the repository at this point in the history
  • Loading branch information
jcourreges committed Sep 17, 2017
1 parent 5d76519 commit cad797f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ main (int argc, char *argv[])
char *alt_rcfile = NULL;

setlocale (LC_CTYPE, "");
utf8_check_locale();

if (XSupportsLocale ())
{
if (!XSetLocaleModifiers (""))
Expand All @@ -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)
Expand Down

0 comments on commit cad797f

Please sign in to comment.