summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-11-15 18:28:00 +0000
committerrubidium <rubidium@openttd.org>2007-11-15 18:28:00 +0000
commitdace4686c00d02e9640bc41720d845f097e7591b (patch)
tree4bd44853b9e7e9c29ae281bd657c1996f6290daa /src/industry_gui.cpp
parent59a6e40ed215319b6fe1feace41b7f745e28364a (diff)
downloadopenttd-dace4686c00d02e9640bc41720d845f097e7591b.tar.xz
(svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ.
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r--src/industry_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index c2b73e815..2e2185cf6 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -270,7 +270,7 @@ static void BuildDynamicIndustryWndProc(Window *w, WindowEvent *e)
DoCommandP(0, WP(w, fnd_d).select, 0, NULL, CMD_BUILD_INDUSTRY | CMD_MSG(STR_4830_CAN_T_CONSTRUCT_THIS_INDUSTRY));
HandleButtonClick(w, DYNA_INDU_FUND_WIDGET);
} else {
- HandlePlacePushButton(w, DYNA_INDU_FUND_WIDGET, SPR_CURSOR_INDUSTRY, 1, NULL);
+ HandlePlacePushButton(w, DYNA_INDU_FUND_WIDGET, SPR_CURSOR_INDUSTRY, VHM_RECT, NULL);
}
} break;
}