summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-12 20:49:27 +0000
committerrubidium <rubidium@openttd.org>2008-08-12 20:49:27 +0000
commit083fbf9a96151f9784191792ffcb4f28453d2d30 (patch)
tree712b85d40fe6b2600386efe14c3b79ca82f15776 /src/settings.cpp
parentedc1b3cdc2928cc1c1c6937fb232bf7804f39ad9 (diff)
downloadopenttd-083fbf9a96151f9784191792ffcb4f28453d2d30.tar.xz
(svn r14056) -Fix [FS#2192]: the console backlog is too small for list_patches. Now it'll only remove backlog items when there are more than a threshold and when they are there longer than (another) threshold.
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 1bc60f85f..c5c0e28e6 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1803,6 +1803,8 @@ const SettingDesc _patch_settings[] = {
SDTC_VAR(gui.default_signal_type, SLE_UINT8, S, MS, 0, 0, 2, 1, STR_CONFIG_PATCHES_DEFAULT_SIGNAL_TYPE, NULL),
SDTC_VAR(gui.cycle_signal_types, SLE_UINT8, S, MS, 0, 0, 2, 1, STR_CONFIG_PATCHES_CYCLE_SIGNAL_TYPES, NULL),
+ SDTC_VAR(gui.console_backlog_timeout, SLE_UINT16, S, 0, 100, 10, 65500, 0, STR_NULL, NULL),
+ SDTC_VAR(gui.console_backlog_length, SLE_UINT16, S, 0, 100, 10, 65500, 0, STR_NULL, NULL),
#ifdef ENABLE_NETWORK
SDTC_VAR(gui.network_chat_box_width, SLE_UINT16, S, 0, 700, 200, 65535, 0, STR_NULL, NULL),
SDTC_VAR(gui.network_chat_box_height, SLE_UINT8, S, 0, 25, 5, 255, 0, STR_NULL, NULL),