LoadedCamel / MidsReborn

Mids' Reborn : Hero Designer
GNU General Public License v3.0
24 stars 7 forks source link

version 3.6.5.3 won't open on non-US system #169

Open Zethoun opened 1 year ago

Zethoun commented 1 year ago

Describe the bug the app will crash on launch if your system doesn't use the dot "." as decimal symbol

To Reproduce Steps to reproduce the behavior:

  1. set your decimal separator to comma in regional parameters
  2. launch Mids
  3. See error "Input string was not in correct format" then the app exit when you click OK
  4. 1 or 2 process will still be shown in the task manager (but the app is not running)

Expected behavior

Screenshots image image

Desktop (please complete the following information):

Zethoun commented 1 year ago

for the parsing error, you need to add "CultureInfo.InvariantCulture" as second parameter for every float.parse call