equal
deleted
inserted
replaced
278 if (t == NULL) { |
278 if (t == NULL) { |
279 ShowInfoF("Invalid resolution '%s'", s); |
279 ShowInfoF("Invalid resolution '%s'", s); |
280 return; |
280 return; |
281 } |
281 } |
282 |
282 |
283 res[0] = clamp(strtoul(s, NULL, 0), 64, MAX_SCREEN_WIDTH); |
283 res[0] = Clamp(strtoul(s, NULL, 0), 64, MAX_SCREEN_WIDTH); |
284 res[1] = clamp(strtoul(t + 1, NULL, 0), 64, MAX_SCREEN_HEIGHT); |
284 res[1] = Clamp(strtoul(t + 1, NULL, 0), 64, MAX_SCREEN_HEIGHT); |
285 } |
285 } |
286 |
286 |
287 static void InitializeDynamicVariables() |
287 static void InitializeDynamicVariables() |
288 { |
288 { |
289 /* Dynamic stuff needs to be initialized somewhere... */ |
289 /* Dynamic stuff needs to be initialized somewhere... */ |