mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
WPrefs: Added const attribute to statically stored strings
Now that the function handling the configuration dictionnary are const correct, the key stored in static array can be given the const attribute.
This commit is contained in:
committed by
Carlos R. Mafra
parent
8517f3dcef
commit
0004d38ef8
@@ -34,7 +34,7 @@ static const struct {
|
||||
OPTION_USERDEF
|
||||
} class;
|
||||
|
||||
char *op_name; /* The identifier for the option in the config file */
|
||||
const char *op_name; /* The identifier for the option in the config file */
|
||||
|
||||
} expert_options[] = {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user