mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +01:00
WPrefs: Added 'const' attribute to function parameters
This commit is contained in:
committed by
Carlos R. Mafra
parent
eb14bca73b
commit
b5101fc8ae
@@ -54,7 +54,7 @@ typedef struct _Panel {
|
||||
|
||||
#define ICON_FILE "paths"
|
||||
|
||||
static void addPathToList(WMList * list, int index, char *path)
|
||||
static void addPathToList(WMList * list, int index, const char *path)
|
||||
{
|
||||
char *fpath = wexpandpath(path);
|
||||
WMListItem *item;
|
||||
|
||||
Reference in New Issue
Block a user