projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d46f357
)
setup.c only calls setlocale() et al if ENABLE_NLS is defined
author
Art Cancro
<ajc@uncensored.citadel.org>
Tue, 6 Dec 2011 03:44:06 +0000
(22:44 -0500)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 6 Dec 2011 08:18:37 +0000
(09:18 +0100)
citadel/utils/setup.c
patch
|
blob
|
history
diff --git
a/citadel/utils/setup.c
b/citadel/utils/setup.c
index d046f209068159194257b5fcbe42ede83d26a15b..86e9c1f1694974fa095939f888e68f8df12de562 100644
(file)
--- a/
citadel/utils/setup.c
+++ b/
citadel/utils/setup.c
@@
-109,11
+109,13
@@
void SetTitles(void)
have_run_dir = 0;
#endif
+#ifdef ENABLE_NLS
setlocale(LC_MESSAGES, getenv("LANG"));
bindtextdomain("citadel-setup", LOCALEDIR"/locale");
textdomain("citadel-setup");
bind_textdomain_codeset("citadel-setup","UTF8");
+#endif
setup_titles[eCitadelHomeDir] = _("Citadel Home Directory");
if (have_run_dir)