use DEFAULT_SKIN_FILENAME and DEFAULT_FONT_FILENAME
This commit is contained in:
		
							parent
							
								
									b86871d3bc
								
							
						
					
					
						commit
						58bf9e73c1
					
				@ -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))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user