mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 14:08:06 +01:00
WPrefs: Use standard C declaration of array instead of GNU syntax
As pointed by Clang, the declaration of array was using the GNU old syntax, not the standard C.
This commit is contained in:
committed by
Carlos R. Mafra
parent
10371836ed
commit
80f18f60d2
@@ -97,9 +97,9 @@ static const struct {
|
||||
const char *db_value;
|
||||
const char *file_name;
|
||||
} menu_style[] = {
|
||||
[MSTYLE_NORMAL] { "normal", "msty1" },
|
||||
[MSTYLE_SINGLE] { "singletexture", "msty2" },
|
||||
[MSTYLE_FLAT] { "flat", "msty3" }
|
||||
[MSTYLE_NORMAL] = { "normal", "msty1" },
|
||||
[MSTYLE_SINGLE] = { "singletexture", "msty2" },
|
||||
[MSTYLE_FLAT] = { "flat", "msty3" }
|
||||
};
|
||||
|
||||
/********************************************************************/
|
||||
@@ -107,9 +107,9 @@ static const struct {
|
||||
const char *label;
|
||||
const char *db_value;
|
||||
} wintitle_align[] = {
|
||||
[WALeft] { N_("Left"), "left" },
|
||||
[WACenter] { N_("Center"), "center" },
|
||||
[WARight] { N_("Right"), "right" }
|
||||
[WALeft] = { N_("Left"), "left" },
|
||||
[WACenter] = { N_("Center"), "center" },
|
||||
[WARight] = { N_("Right"), "right" }
|
||||
};
|
||||
|
||||
/********************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user