Browse Source

Merge pull request #1 from GWRon/fix_commaFontSize

Fix: Save fontsize with dot instead of comma. Fixes startup on "comma-locales"
Brucey 9 years ago
parent
commit
cd7c2ba270
1 changed files with 1 additions and 1 deletions
  1. 1 1
      maxide.bmx

+ 1 - 1
maxide.bmx

@@ -1083,7 +1083,7 @@ Type TGadgetStyle
 	End Method
 
 	Method ToString$()
-		Return font_name+","+font_size+","+fg.ToString()+","+bg.ToString()+","+font_type
+		Return font_name+","+String(font_size).Replace(",",".")+","+fg.ToString()+","+bg.ToString()+","+font_type
 	End Method
 	
 	Function GetArg$(a$ Var)