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();
}
else if (mode & ACKNOWLEDGE_MSG){
if (*res == -1)
if (*res != 0){
DisplayErrorMessage("Please press button");
else
}else{
DisplayInfoMessage("...ready. Please press OK");
exit = true;
}
}
neutrino_msg_t msg;
neutrino_msg_data_t data;