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/industry_gui.cpp | |
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/industry_gui.cpp')
-rw-r--r-- | src/industry_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 2e2185cf6..bc01e2cba 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -583,7 +583,7 @@ static void IndustryViewWndProc(Window *w, WindowEvent *e) Industry* i = GetIndustry(w->window_number); int line = WP(w, indview_d).editbox_line; - i->production_rate[line] = clampu(atoi(e->we.edittext.str), 0, 255); + i->production_rate[line] = ClampU(atoi(e->we.edittext.str), 0, 255); UpdateIndustryProduction(i); SetWindowDirty(w); } |