From fe87fa82059cb7e32207ba77bdcc06b91bd84d2d Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 12 Aug 2008 20:49:27 +0000 Subject: (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. --- src/settings_type.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/settings_type.h') diff --git a/src/settings_type.h b/src/settings_type.h index 833d37520..c586d3198 100644 --- a/src/settings_type.h +++ b/src/settings_type.h @@ -82,6 +82,9 @@ struct GUISettings { bool show_track_reservation; ///< highlight reserved tracks. uint8 default_signal_type; ///< the signal type to build by default. uint8 cycle_signal_types; ///< what signal types to cycle with the build signal tool. + + uint16 console_backlog_timeout; ///< the minimum amount of time items should be in the console backlog before they will be removed in ~3 seconds granularity. + uint16 console_backlog_length; ///< the minimum amount of items in the console backlog before items will be removed. #ifdef ENABLE_NETWORK uint16 network_chat_box_width; ///< width of the chat box in pixels uint8 network_chat_box_height; ///< height of the chat box in lines -- cgit v1.2.3-70-g09d2