mirror of
https://github.com/gryf/wmaker.git
synced 2026-06-14 22:35:21 +02:00
WPrefs: Added 'const' attribute to function parameters
This commit is contained in:
committed by
Carlos R. Mafra
parent
eb14bca73b
commit
b5101fc8ae
+1
-1
@@ -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