forked from mirror/OpenTTD
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
This commit is contained in:
@@ -280,8 +280,8 @@ static void ParseResolution(int res[2], const char *s)
|
||||
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] = Clamp(strtoul(s, NULL, 0), 64, MAX_SCREEN_WIDTH);
|
||||
res[1] = Clamp(strtoul(t + 1, NULL, 0), 64, MAX_SCREEN_HEIGHT);
|
||||
}
|
||||
|
||||
static void InitializeDynamicVariables()
|
||||
|
Reference in New Issue
Block a user