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/bundle_env_linux.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/bundle_env_linux.cc')
-rw-r--r-- | gtk2_ardour/bundle_env_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/bundle_env_linux.cc b/gtk2_ardour/bundle_env_linux.cc index 80830964b4..2875021029 100644 --- a/gtk2_ardour/bundle_env_linux.cc +++ b/gtk2_ardour/bundle_env_linux.cc @@ -67,7 +67,7 @@ fixup_bundle_environment (int /*argc*/, char* argv[], string & localedir) } #endif -#ifdef ENABLE_NLS +#if ENABLE_NLS if (!ARDOUR::translations_are_enabled ()) { localedir = "/this/cannot/exist"; } else { |