diff options
author | Robin Gareus <robin@gareus.org> | 2018-09-21 19:04:06 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-09-21 19:04:06 +0200 |
commit | dade5fca7d452b99b640ff139a16c9e606257f09 (patch) | |
tree | 2ae1043f7644497431f73f75633369bb7c9d6dae /gtk2_ardour/main.cc | |
parent | 497a3fbaa1ea089ec926a122fb833df320066efc (diff) |
Fix --no-nls (3/5), prefer #if in gtk2_ardour
This is for consistency with system-wide gettext.h which is used
by some 3rd party libs. system-wide gettext uses `#if ENABLE_NLS`,
not #ifdef
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r-- | gtk2_ardour/main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index 6841051e2b..d3e31e911a 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -311,7 +311,7 @@ int main (int argc, char *argv[]) fftwf_make_planner_thread_safe (); #endif -#ifdef ENABLE_NLS +#if ENABLE_NLS /* initialize C locale to user preference */ if (ARDOUR::translations_are_enabled ()) { setlocale (LC_ALL, ""); @@ -327,7 +327,7 @@ int main (int argc, char *argv[]) windows_vst_gui_init (&argc, &argv); #endif -#ifdef ENABLE_NLS +#if ENABLE_NLS cerr << "bind txt domain [" << PACKAGE << "] to " << localedir << endl; (void) bindtextdomain (PACKAGE, localedir.c_str()); |