mirror of
https://github.com/Tichau/FileConverter.git
synced 2026-11-19 09:01:32 +01:00
Fixed: Issue where the scale was not applied correctly for image conversions depending on the application current language
This commit is contained in:
1 parent
409d726d35
commit
4ee60445f0
1 file changed
+2
-1
@@ -5,6 +5,7 @@ namespace FileConverter
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Xml.Serialization;
|
||||
@@ -378,7 +379,7 @@ namespace FileConverter
|
||||
return (T)System.Enum.Parse(type, settingsValue);
|
||||
}
|
||||
|
||||
return (T)System.Convert.ChangeType(settingsValue, type);
|
||||
return (T)System.Convert.ChangeType(settingsValue, type, NumberFormatInfo.InvariantInfo);
|
||||
}
|
||||
|
||||
public bool IsRelevantSetting(string settingsKey)
|
||||
|
||||
Reference in new issue
Block a user