(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
This commit is contained in:
@@ -182,12 +182,12 @@ static const Widget _main_status_widgets[] = {
|
||||
{ WIDGETS_END},
|
||||
};
|
||||
|
||||
static WindowDesc _main_status_desc = {
|
||||
static WindowDesc _main_status_desc(
|
||||
WDP_CENTER, 0, 320, 12, 640, 12,
|
||||
WC_STATUS_BAR, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_NO_FOCUS,
|
||||
_main_status_widgets,
|
||||
};
|
||||
_main_status_widgets
|
||||
);
|
||||
|
||||
/**
|
||||
* Checks whether the news ticker is currently being used.
|
||||
|
Reference in New Issue
Block a user