[Scummvm-tracker] [ScummVM] #10897: ZVISION: Assertion fails on locales with decimal comma

ScummVM trac at scummvm.org
Thu Feb 21 18:35:01 CET 2019


#10897: ZVISION: Assertion fails on locales with decimal comma
------------------------------------+-----------------------------
  Reporter:  angstsmurf             |      Owner:  (none)
      Type:  defect                 |     Status:  new
  Priority:  normal                 |  Component:  Engine: ZVision
Resolution:                         |   Keywords:
      Game:  Zork Grand Inquisitor  |
------------------------------------+-----------------------------

Comment (by eriktorbjorn):

 I thought ScummVM was supposed to set the locale to something language
 neutral. The SDL backend has this in OSystem_SDL::getSystemLanguage():

 {{{
 // Restore default C locale to prevent issues with
 // portability of sscanf(), atof(), etc.
 // See bug #3615148
 setlocale(LC_ALL, "C");
 }}}

 Though maybe that's not used in the Mac version? I don't know...

-- 
Ticket URL: <https://bugs.scummvm.org/ticket/10897#comment:2>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list