浏览代码

Fix: Save fontsize with dot instead of comma. Fixes startup on "comma-locales".

Ronny Otto 9 年之前
父节点
当前提交
8f7f2c69e9
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)