string msg = txt;
msg += '\n';
msg += throwable.getFormattedMessage();
- if (throwable.getOrigin() != (string)"") {
+ if (!throwable.getOrigin().empty()) {
msg += "\n (reported by ";
msg += throwable.getOrigin();
msg += ')';
// Set up our Dialog Boxes
ConfirmExitDialogInit();
NewAirportInit();
+
#ifdef FG_NETWORK_OLK
NewNetIdInit();
NewNetFGDInit();
// Set up menu bar toggle
gui_menu_on = ~0;
- if (fgGetString("/sim/flight-model") == "ada") {
+ if (!strcmp("/sim/flight-model", "ada")) {
guiToggleMenu(); // Menu off by default
}
}