diff --git a/ChangeLog b/ChangeLog index ebddaac62723313acd8730b379f99650cb4e773b..4fdab1867f3438c830245c03a876247e2ffc33d0 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 15eae21bcd030ce4464b6eca83125273c03d24b7..76812b60080b52a7b330ee7e6793dc0d48c0bc04 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",