1
0
Fork 0

(svn r17919) -Codechange (r17849): Remove the outermost NWID_LAYERED and NWID_VERTICAL containers from the load and save nested widget parts, since they do nothing.

release/1.0
alberth 2009-10-31 13:43:34 +00:00
parent 43abc7b51d
commit 70ebe13ee8
1 changed files with 45 additions and 53 deletions

View File

@ -1652,8 +1652,6 @@ enum SaveLoadWindowWidgets {
};
static const NWidgetPart _nested_load_dialog_widgets[] = {
NWidget(NWID_LAYERED),
NWidget(NWID_VERTICAL),
NWidget(NWID_HORIZONTAL),
NWidget(WWT_CLOSEBOX, COLOUR_GREY, SLWW_CLOSE),
NWidget(WWT_CAPTION, COLOUR_GREY, SLWW_WINDOWTITLE),
@ -1680,13 +1678,9 @@ static const NWidgetPart _nested_load_dialog_widgets[] = {
EndContainer(),
EndContainer(),
EndContainer(),
EndContainer(),
EndContainer(),
};
static const NWidgetPart _nested_save_dialog_widgets[] = {
NWidget(NWID_LAYERED),
NWidget(NWID_VERTICAL),
NWidget(NWID_HORIZONTAL),
NWidget(WWT_CLOSEBOX, COLOUR_GREY, SLWW_CLOSE),
NWidget(WWT_CAPTION, COLOUR_GREY, SLWW_WINDOWTITLE),
@ -1713,8 +1707,6 @@ static const NWidgetPart _nested_save_dialog_widgets[] = {
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, SLWW_SAVE_GAME), SetDataTip(STR_SAVELOAD_SAVE_BUTTON, STR_SAVELOAD_SAVE_TOOLTIP), SetFill(true, false), SetResize(1, 0),
NWidget(WWT_RESIZEBOX, COLOUR_GREY, SLWW_RESIZE),
EndContainer(),
EndContainer(),
EndContainer(),
};
/* Colours for fios types */