Skip to content

Commit

Permalink
Merge branch 'master' of github.com:firelab/windninja
Browse files Browse the repository at this point in the history
  • Loading branch information
nwagenbrenner committed Aug 14, 2024
2 parents 2e2b4e4 + 740cc27 commit ed625b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/mainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,17 @@ void mainWindow::checkMessages(void) {
if (strcmp(papszMsg, "TRUE\n") == 0) {
mbox.setText("There is a fatal flaw in Windninja, it must close.");
mbox.exec();
delete[] papszMsg;
abort();
}

else {
char *papszMsg = NinjaQueryServerMessages(false);
if (papszMsg != NULL) {
mbox.setText(papszMsg);

mbox.exec();
delete[] papszMsg;
}
}
}
Expand Down

0 comments on commit ed625b2

Please sign in to comment.