1
0
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:
Christophe CURIS
2013-05-08 15:44:08 +02:00
committed by Carlos R. Mafra
parent 8517f3dcef
commit 0004d38ef8
2 changed files with 4 additions and 4 deletions

View File

@@ -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[] = {