File diff r8984:b9a96c1e0b58 → r8985:72eff2815e83
src/openttd.cpp
Show inline comments
 
@@ -258,8 +258,8 @@ static void ParseResolution(int res[2], 
 
		return;
 
	}
 

	
 
	res[0] = Clamp(strtoul(s, NULL, 0), 64, MAX_SCREEN_WIDTH);
 
	res[1] = Clamp(strtoul(t + 1, NULL, 0), 64, MAX_SCREEN_HEIGHT);
 
	res[0] = max(strtoul(s, NULL, 0), 64UL);
 
	res[1] = max(strtoul(t + 1, NULL, 0), 64UL);
 
}
 

	
 
static void InitializeDynamicVariables()