summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otk/display.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/otk/display.cc b/otk/display.cc
index 59a48aee..c117699b 100644
--- a/otk/display.cc
+++ b/otk/display.cc
@@ -100,9 +100,9 @@ line argument.\n\n"));
printf(_("Couldn't mark display connection as close-on-exec.\n\n"));
::exit(1);
}
- if (! XSupportsLocale())
+ if (!XSupportsLocale())
printf(_("X server does not support locale.\n"));
- if (XSetLocaleModifiers("") == NULL)
+ if (!XSetLocaleModifiers(""))
printf(_("Cannot set locale modifiers for the X server.\n"));
// set our error handler for X errors