]> git.mxchange.org Git - flightgear.git/commit
Defensive handling of locales.
authorJames Turner <zakalawe@mac.com>
Tue, 2 Feb 2016 20:44:46 +0000 (20:44 +0000)
committerJames Turner <zakalawe@mac.com>
Tue, 2 Feb 2016 20:44:46 +0000 (20:44 +0000)
commitc72309360ecddb245f8c1717eb3df53b7b0311c6
treeb9b9eecc1effbb9cfc61122f468d42d4d999675b
parent5ef3413373d439490d0bbbbdec5ee4b778da0056
Defensive handling of locales.

- Use setlocale() to ensure consistent handling of locales and
  string handling irrespective of whether or not QCoreApplication
  is invoked. Forces a the C locale for numerics and collation,
  since many pieces of FG assume this.
src/GUI/QtLauncher.cxx
src/Main/bootstrap.cxx