diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-19 18:38:10 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-19 18:38:10 +0000 |
commit | 8be526e4990ef8c7a742e6f3f67a42d0036750eb (patch) | |
tree | 7818a2f346fc9a85d84a2a844989ea1a90136b90 /src/video/cocoa_v.mm | |
parent | 006acff1834d37ba4b1553ba324c255a6cc2382e (diff) | |
download | openttd-8be526e4990ef8c7a742e6f3f67a42d0036750eb.tar.xz |
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
Diffstat (limited to 'src/video/cocoa_v.mm')
-rw-r--r-- | src/video/cocoa_v.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/cocoa_v.mm b/src/video/cocoa_v.mm index 0a23871dc..fd8a7cb90 100644 --- a/src/video/cocoa_v.mm +++ b/src/video/cocoa_v.mm @@ -1244,7 +1244,7 @@ static const char* QZ_SetVideoWindowed(uint width, uint height) if (!isCustom) { [ _cocoa_video_data.window setContentSize:contentRect.size ]; // Ensure frame height - title bar height >= view height - contentRect.size.height = clamp(height, 0, [ _cocoa_video_data.window frame ].size.height - 22 /* 22 is the height of title bar of window*/); + contentRect.size.height = Clamp(height, 0, [ _cocoa_video_data.window frame ].size.height - 22 /* 22 is the height of title bar of window*/); height = contentRect.size.height; [ _cocoa_video_data.qdview setFrameSize:contentRect.size ]; } |