summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xload.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xload.c b/xload.c
index 849f8e2..01a42c3 100644
--- a/xload.c
+++ b/xload.c
@@ -207,12 +207,14 @@ main(int argc, char **argv)
toplevel = XtAppInitialize(&app_con, "XLoad", options, XtNumber(options),
&argc, argv, NULL, NULL, (Cardinal) 0);
+#ifdef USE_GETTEXT
textdomain("xload");
if ((domaindir = getenv ( "TEXTDOMAINDIR" )) == NULL) {
domaindir = LOCALEDIR;
}
bindtextdomain("xload", domaindir);
+#endif
if (argc != 1) usage();