summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2010-12-29 13:32:35 +0000
committerplanetmaker <planetmaker@openttd.org>2010-12-29 13:32:35 +0000
commit6331923653250c3d2bd8311cab605b12653b061e (patch)
treeda37fe95e6410a03338fd921143420ea21b13c4b /src/settings_type.h
parentbfc386fe10ceb58116e88b8000c461da17be810a (diff)
downloadopenttd-6331923653250c3d2bd8311cab605b12653b061e.tar.xz
(svn r21656) -Fix [FS#4345] (r3722, r15301): Use a bool instead of uint8 to store a bool and use the dedicated accessor function when reading boolean settings (glx, rubidium)
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index ae9b1bcd8..2521caa8d 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -99,7 +99,7 @@ struct GUISettings {
bool station_dragdrop; ///< whether drag and drop is enabled for stations
bool station_show_coverage; ///< whether to highlight coverage area
bool persistent_buildingtools; ///< keep the building tools active after usage
- uint8 expenses_layout; ///< layout of expenses window
+ bool expenses_layout; ///< layout of expenses window
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.