mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-20 00:35:53 +01:00
WINGs: Properly mark 'const' some 'char*' in the public API
Update all the callers in our code to deal with the const qualifier where the compiler reports an issue.
This commit is contained in:
committed by
Carlos R. Mafra
parent
03ec24502d
commit
a079544647
@@ -536,7 +536,7 @@ found_end_define_fname:
|
||||
while (*src != '\0') {
|
||||
idx = 0;
|
||||
if (*src == '~') {
|
||||
char *home = wgethomedir();
|
||||
const char *home = wgethomedir();
|
||||
while (*home != '\0') {
|
||||
if (idx < sizeof(buffer) - 2)
|
||||
buffer[idx++] = *home;
|
||||
|
||||
Reference in New Issue
Block a user