src/Aircraft/initialstate.cxx: fixed typo in diagnostic when --state=... is not found.
This commit is contained in:
parent
fb027e0193
commit
2e782100c8
1 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ void applyInitialState()
|
||||||
SG_LOG(SG_AIRCRAFT, SG_WARN, "missing state node for:" << nm);
|
SG_LOG(SG_AIRCRAFT, SG_WARN, "missing state node for:" << nm);
|
||||||
std::string aircraft = fgGetString("/sim/aircraft");
|
std::string aircraft = fgGetString("/sim/aircraft");
|
||||||
modalMessageBox("Unknown aircraft state",
|
modalMessageBox("Unknown aircraft state",
|
||||||
"The selected aircraft (" + aircraft + ") does not have a stage '" + nm + "')");
|
"The selected aircraft (" + aircraft + ") does not have a state '" + nm + "'");
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -97,4 +97,4 @@ void applyInitialState()
|
||||||
copyProperties(stateNode->getChild("overlay"), globals->get_props());
|
copyProperties(stateNode->getChild("overlay"), globals->get_props());
|
||||||
}
|
}
|
||||||
|
|
||||||
} // of namespace flightgear
|
} // of namespace flightgear
|
||||||
|
|
Loading…
Add table
Reference in a new issue