WPrefs: Added 'const' attribute to function parameters

This commit is contained in:
Christophe CURIS authored and Carlos R. Mafra committed 2013-05-12 01:01:19 +01:00
1 parent eb14bca73b
commit b5101fc8ae
17 files changed
+53 -53

No files matched your search

+1 -1
View File
@@ -541,7 +541,7 @@ static void selectedOption(WMWidget * w, void *data)
updateSampleFont(panel);
}
static WMLabel *createListLabel(WMScreen * scr, WMWidget * parent, char *text)
static WMLabel *createListLabel(WMScreen * scr, WMWidget * parent, const char *text)
{
WMLabel *label;
WMColor *color;