diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2010-02-14 15:29:04 +0100 |
---|---|---|
committer | Matthieu Herrb <matthieu.herrb@laas.fr> | 2010-02-16 21:26:26 +0100 |
commit | ee8deed4006d89231f71e3692d487eeaf1fd312c (patch) | |
tree | e6b282e6d6a5510ad44ce53050a3201514dc578a | |
parent | cc62d8127797a769fb83c719a499290b780e0307 (diff) |
Let xfd build on systems without gettext.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r-- | xfd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -196,6 +196,7 @@ main(int argc, char *argv[]) xfd_options, XtNumber(xfd_options), &argc, argv, NULL, NULL, 0); +#ifdef USE_GETTEXT textdomain("xfd"); /* mainly for debugging */ @@ -203,6 +204,7 @@ main(int argc, char *argv[]) domaindir = LOCALEDIR; } bindtextdomain ("xfd", domaindir); +#endif Resources[0].default_addr = gettext(DEF_SELECT_FORMAT); Resources[1].default_addr = gettext(DEF_METRICS_FORMAT); |