summaryrefslogtreecommitdiff
path: root/src/timetable_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-24 21:13:36 +0000
committerrubidium <rubidium@openttd.org>2009-11-24 21:13:36 +0000
commit8d6e323ef80fcb49c4fc8417564d1e2ef7797a73 (patch)
treefdd555748c6ddc5afd2181becd1006e6c8375ced /src/timetable_gui.cpp
parent3f0e1c9091bc13f82bcab6874f35d62f46987de5 (diff)
downloadopenttd-8d6e323ef80fcb49c4fc8417564d1e2ef7797a73.tar.xz
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
Diffstat (limited to 'src/timetable_gui.cpp')
-rw-r--r--src/timetable_gui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp
index 5a9dfafe8..d19b4128c 100644
--- a/src/timetable_gui.cpp
+++ b/src/timetable_gui.cpp
@@ -33,7 +33,6 @@ enum TimetableViewWindowWidgets {
TTV_CLEAR_TIME,
TTV_RESET_LATENESS,
TTV_AUTOFILL,
- TTV_EMPTY,
};
/**
@@ -371,7 +370,7 @@ static const NWidgetPart _nested_timetable_widgets[] = {
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, TTV_CLEAR_TIME), SetMinimalSize(110, 12), SetDataTip(STR_TIMETABLE_CLEAR_TIME, STR_TIMETABLE_CLEAR_TIME_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, TTV_RESET_LATENESS), SetMinimalSize(118, 12), SetDataTip(STR_TIMETABLE_RESET_LATENESS, STR_TIMETABLE_RESET_LATENESS_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, TTV_AUTOFILL), SetMinimalSize(50, 12), SetDataTip(STR_TIMETABLE_AUTOFILL, STR_TIMETABLE_AUTOFILL_TOOLTIP),
- NWidget(WWT_PANEL, COLOUR_GREY, TTV_EMPTY), SetMinimalSize(0, 12), SetResize(1, 0), EndContainer(),
+ NWidget(WWT_PANEL, COLOUR_GREY), SetMinimalSize(0, 12), SetResize(1, 0), EndContainer(),
NWidget(WWT_RESIZEBOX,COLOUR_GREY),
EndContainer(),
};