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
@@ -262,7 +262,7 @@ static void x_reset_modifier_mapping(Display * display)
XFreeModifiermap(x_modifier_keymap);
}
int ModifierFromKey(Display * dpy, char *key)
int ModifierFromKey(Display * dpy, const char *key)
{
static int eqw = 0;