summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_preset_selector.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-10-19 19:54:01 +0200
committerRobin Gareus <robin@gareus.org>2014-10-19 23:15:13 +0200
commitffde2fb5f982856afd9a569d9571b954032f0894 (patch)
treee17db6bd88f47bf87b632a8842d97b1193338319 /gtk2_ardour/export_preset_selector.cc
parent892909b05299c2d974429d1d84c2e09082c39bf8 (diff)
OS 10.10 compile fixes
* fix clang pickiness regarding boolean * ignore ‘verify’ macro * tested with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Diffstat (limited to 'gtk2_ardour/export_preset_selector.cc')
-rw-r--r--gtk2_ardour/export_preset_selector.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/export_preset_selector.cc b/gtk2_ardour/export_preset_selector.cc
index 9f699bbb80..6adf5a45be 100644
--- a/gtk2_ardour/export_preset_selector.cc
+++ b/gtk2_ardour/export_preset_selector.cc
@@ -123,8 +123,8 @@ ExportPresetSelector::update_selection ()
}
}
- save_button.set_sensitive (current);
- remove_button.set_sensitive (current);
+ save_button.set_sensitive (current != 0);
+ remove_button.set_sensitive (current != 0);
new_button.set_sensitive (!current && !text.empty() && !preset_name_exists);
}