WPrefs.app: Added const attribute to local string

Now that the WINGs functions are const-correct, it is possible to
set the attribute on the strings to help the compiler.
This commit is contained in:
Christophe CURIS authored and Carlos R. Mafra committed 2013-05-09 16:56:28 +01:00
1 parent 591dc5cd4d
commit a4395c5764
4 files changed
+4 -8

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@
* expert tab of the window with the corresponding information for effect
*/
static const struct {
char *label; /* Text displayed to user */
const char *label; /* Text displayed to user */
int def_state; /* True/False: the default value, if not defined in current config */