Fix all the missing return statements and guard against this happening again

This commit is contained in:
2014-04-15 03:12:47 -04:00
parent 2b924101d6
commit 2d69851746
11 changed files with 34 additions and 5 deletions

View File

@@ -1130,7 +1130,7 @@ bool cDialog::addLabelFor(std::string key, std::string label, eLabelPos where, s
labelCtrl->setFormat(TXT_FONT, bold ? SILOM : GENEVA);
// TODO: Do we need to set colour to white if background is dark?
labelCtrl->setColour(ctrl.getColour());
add(labelCtrl, labelRect, key);
return add(labelCtrl, labelRect, key);
}
std::string cDialog::process_keystroke(cKey keyHit){