Fix some Clang warnings reported by @Partha1b

This commit is contained in:
Flössie
2016-11-08 20:23:48 +01:00
parent f017603478
commit 25c67ab3c1
2 changed files with 6 additions and 4 deletions

View File

@@ -430,7 +430,7 @@ void ExifPanel::addPressed ()
} else {
tcombo->set_active_text (sel);
if (tcombo->get_active () < 0) {
if (!tcombo->get_active ()) {
tcombo->append_text (sel);
tcombo->set_active_text (sel);
}