From: Matthieu Herrb <[email protected]>
Signed-off-by: Matthieu Herrb <[email protected]>
---
xload.c | 2 ++
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();
--
1.6.5.7
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel