use DEFAULT_SKIN_FILENAME and DEFAULT_FONT_FILENAME

This commit is contained in:
Thomas Bernard 2019-05-09 22:59:12 +02:00
parent b86871d3bc
commit 58bf9e73c1
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -899,13 +899,13 @@ int Load_INI(T_Config * conf)
conf->Skin_file = strdup(value_label);
}
else
conf->Skin_file = strdup("skin_DPaint.png");
conf->Skin_file = strdup(DEFAULT_SKIN_FILENAME);
// Optional, name of font file. (>2.0)
if(!Load_INI_get_string(file,buffer,"Font_file",value_label,1))
conf->Font_file = strdup(value_label);
else
conf->Font_file = strdup("font_Dpaint.png");
conf->Font_file = strdup(DEFAULT_FONT_FILENAME);
// Optional, "fake hardware zoom" factor (>2.1)
if (!Load_INI_get_values (file, buffer,"Pixel_ratio",1,values))