mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Fix Error: src/cwindow.cxx:97:3: error: array designators are a C99 extension [-Werror,-Wc99-designator]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
76e6a03d71
commit
82ee0d1e24
1 changed files with 0 additions and 4 deletions
|
|
@ -94,19 +94,15 @@ struct SToolbarInfo
|
|||
|
||||
struct SToolbarInfo GToolBarInfo[NTOOLBAR_BUTTONS] =
|
||||
{
|
||||
[MENU_BUTTON] =
|
||||
{
|
||||
&CONFIG_TWM4NX_MENU_IMAGE, false, EVENT_TOOLBAR_MENU
|
||||
},
|
||||
[DELETE_BUTTON] =
|
||||
{
|
||||
&CONFIG_TWM4NX_TERMINATE_IMAGE, true, EVENT_TOOLBAR_TERMINATE
|
||||
},
|
||||
[RESIZE_BUTTON] =
|
||||
{
|
||||
&CONFIG_TWM4NX_RESIZE_IMAGE, true, EVENT_RESIZE_BUTTON
|
||||
},
|
||||
[MINIMIZE_BUTTON] =
|
||||
{
|
||||
&CONFIG_TWM4NX_MINIMIZE_IMAGE, true, EVENT_TOOLBAR_MINIMIZE
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue