summaryrefslogtreecommitdiffstats
path: root/mbyte.c
diff options
context:
space:
mode:
authorRocco Rutte <pdmef@gmx.net>2007-11-20 08:44:24 +0000
committerRocco Rutte <pdmef@gmx.net>2007-11-20 08:44:24 +0000
commit50c1af5fef07ea76b4eb8ceefc975a29e6eaae84 (patch)
treea0ef67d87f67ca7008da9c15d29d58f8ca3db823 /mbyte.c
parent354caf1f231d4d041e10d946b89bcac29a60b0a0 (diff)
Alternate fix for not calling bind_textdomain_codeset() to fix Solaris build.
Diffstat (limited to 'mbyte.c')
-rw-r--r--mbyte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbyte.c b/mbyte.c
index f00c892b..2737b2d5 100644
--- a/mbyte.c
+++ b/mbyte.c
@@ -83,7 +83,7 @@ void mutt_set_charset (char *charset)
}
#endif
-#ifdef HAVE_BIND_TEXTDOMAIN_CODESET
+#if defined(HAVE_BIND_TEXTDOMAIN_CODESET) && defined(ENABLE_NLS)
bind_textdomain_codeset(PACKAGE, buffer);
#endif
}