Patch from epitech_user to fix statement with no effect
authorCarl Hetherington <carl@carlh.net>
Wed, 11 Apr 2012 10:08:17 +0000 (10:08 +0000)
committerCarl Hetherington <carl@carlh.net>
Wed, 11 Apr 2012 10:08:17 +0000 (10:08 +0000)
(#4816).

git-svn-id: svn://localhost/ardour2/branches/3.0@11890 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/theme_manager.cc

index 47ae4b73905334803ecdd44d9976605a489a6cd9..887ca5453c0b9c980ede46d5e0c79bb4979348af 100644 (file)
@@ -334,7 +334,7 @@ ThemeManager::setup_theme ()
 
        if (rcfile == "ardour3_ui_dark.rc" || rcfile == "ardour3_ui_dark_sae.rc") {
                dark_button.set_active();
-       } else if (rcfile == "ardour3_ui_light.rc" || "ardour3_ui_light_sae.rc") {
+       } else if (rcfile == "ardour3_ui_light.rc" || rcfile == "ardour3_ui_light_sae.rc") {
                light_button.set_active();
        }