summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-09-15 16:29:40 +0000
committersmatz <smatz@openttd.org>2008-09-15 16:29:40 +0000
commitffa39caf3dd099f8fa69d9c25ff24885fd4ce44a (patch)
tree460dfbcf75a0eba53ff1d436c6670f771aeeb3fd /src/order_gui.cpp
parentaa2c3bdd6f8cbde0a72195688c9d9b5026cea65d (diff)
downloadopenttd-ffa39caf3dd099f8fa69d9c25ff24885fd4ce44a.tar.xz
(svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()
Diffstat (limited to 'src/order_gui.cpp')
-rw-r--r--src/order_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp
index 32c4abd51..1a1a9d965 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -874,7 +874,7 @@ public:
uint value = order->GetConditionValue();
if (order->GetConditionVariable() == OCV_MAX_SPEED) value = ConvertSpeedToDisplaySpeed(value);
SetDParam(0, value);
- ShowQueryString(STR_CONFIG_PATCHES_INT32, STR_ORDER_CONDITIONAL_VALUE_CAPT, 5, 100, this, CS_NUMERAL);
+ ShowQueryString(STR_CONFIG_PATCHES_INT32, STR_ORDER_CONDITIONAL_VALUE_CAPT, 5, 100, this, CS_NUMERAL, QSF_NONE);
} break;
case ORDER_WIDGET_SHARED_ORDER_LIST: