From: Chris Allegretta Date: Fri, 9 Feb 2001 02:57:52 +0000 (+0000) Subject: main() - Added ENABLE_NLS check around gettext stuff X-Git-Tag: v0.9.99pre3~25 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8bc03b6fdcc20acc078d400e6c5be90c2534db4f;p=nano.git main() - Added ENABLE_NLS check around gettext stuff git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@524 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index ebddaac6..4fdab186 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,8 @@ CVS code - do_justify() - If the keystroke after the justify is not the unjustify key, blank the statsubar (bug reported by Neil Parks). + main() + - Added ENABLE_NLS check around gettext stuff. - de.po: - Translation updates by Florian König. - fi.po: diff --git a/nano.c b/nano.c index 15eae21b..76812b60 100644 --- a/nano.c +++ b/nano.c @@ -2142,10 +2142,12 @@ int main(int argc, char *argv[]) SET(FOLLOW_SYMLINKS); #ifndef NANO_SMALL +#ifdef ENABLE_NLS setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); #endif +#endif #ifdef HAVE_GETOPT_LONG while ((optchr = getopt_long(argc, argv, "?T:RVbcefhiklmpr:s:tvwxz",