4b494a69bd
- Rename fatalMessageBox() to fatalMessageBoxWithoutExit(). This should prevent the kind of bug that prompted this set of changes: someone calling fatalMessageBox(), assuming the program would stop at that point, whereas in reality it did not. - Add new function fatalMessageBoxThenExit(). This is not vital of course, but allows one to spare one line here and there and to apply the DRY principle for such fatal exits. - Replace every existing call to fatalMessageBox() with one or the other of the two new functions. Improve formatting along the way. This fixes a few bugs of the kind explained above. |
||
---|---|---|
.. | ||
.gitignore | ||
alcinfo.cxx | ||
CMakeLists.txt | ||
est-epsilon.cxx | ||
fake_sgPrecipitation.cxx | ||
fake_sgSky.cxx | ||
fake_sgSky.hxx | ||
fake_sound.cxx | ||
fgTestDriver.cxx | ||
gl-info.cxx | ||
test-env-map.cxx | ||
test-gethostname.cxx | ||
test-mktime.cxx | ||
test-text.cxx | ||
test-up.cxx | ||
test_flightplan.cxx | ||
test_navaids2.cxx | ||
testStubs.cxx | ||
unitTestHelpers.cxx | ||
unitTestHelpers.hxx |