summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-06-26 17:13:39 +0000
committerbelugas <belugas@openttd.org>2008-06-26 17:13:39 +0000
commit6d1e5a3f5b4568e291cf16a4f3ff2848fad9f733 (patch)
treef3d180491f11ccdda9c340715135d9b58b931012 /src
parent1834a2f670491dd950e3101b1b0172bd37fba39b (diff)
downloadopenttd-6d1e5a3f5b4568e291cf16a4f3ff2848fad9f733.tar.xz
(svn r13641) -Fix: Misleading enum name.
Diffstat (limited to 'src')
-rw-r--r--src/toolbar_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp
index 9c0a7734e..ed32c2bc1 100644
--- a/src/toolbar_gui.cpp
+++ b/src/toolbar_gui.cpp
@@ -95,7 +95,7 @@ enum ToolbarScenEditorWidgets {
TBSE_FASTFORWARD,
TBSE_SAVESCENARIO = 3,
TBSE_SPACERPANEL,
- TBSE_SEPARATOR,
+ TBSE_DATEPANEL,
TBSE_DATEBACKWARD,
TBSE_DATEFORWARD,
TBSE_SMALLMAP,
@@ -1206,7 +1206,7 @@ public:
this->widget[i].right = x - 1;
break;
- case TBSE_SEPARATOR: {
+ case TBSE_DATEPANEL: {
int offset = x - this->widget[i].left;
this->widget[i + 1].left += offset;
this->widget[i + 1].right += offset;