mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-09 03:02:30 +02:00
Fixed const correctness in functions using 'wusergnusteppath'
The change introduced in previous commit for const correctness has a small impact on WindowMaker's code, this patch fixes all the new warnings.
This commit is contained in:
1 parent
cd1c55d63c
commit
a18fd7cd69
6 files changed
+10
-7
No files matched your search
+2
-1
@@ -185,7 +185,8 @@ void makeThemePack(WMPropList * style, char *themeName)
|
||||
WMPropList *value;
|
||||
int i;
|
||||
size_t themeNameLen;
|
||||
char *themeDir, *t;
|
||||
char *themeDir;
|
||||
const char *t;
|
||||
|
||||
if ((t = wusergnusteppath()) == NULL)
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user