Fix some Clang warnings reported by @Partha1b
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user