CShellWindow: evaluate error output for plausible message output

This commit is contained in:
2014-11-24 09:10:48 +01:00
parent 524b91a402
commit 14779cce55

View File

@@ -212,12 +212,13 @@ void CShellWindow::showResult()
btn.paint(); btn.paint();
} }
else if (mode & ACKNOWLEDGE_MSG){ else if (mode & ACKNOWLEDGE_MSG){
if (*res == -1) if (*res != 0){
DisplayErrorMessage("Please press button"); DisplayErrorMessage("Please press button");
else }else{
DisplayInfoMessage("...ready. Please press OK"); DisplayInfoMessage("...ready. Please press OK");
exit = true; exit = true;
} }
}
neutrino_msg_t msg; neutrino_msg_t msg;
neutrino_msg_data_t data; neutrino_msg_data_t data;