mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Some rework on getstyle
- make it use wings functions, remove duplicated code from getstyle - de-static necessary functions in wings - add new wrmdirhier to wings - rename WMMkDirHier to wmkdirhier (fits better) - remove calling shell from getstyle (what were they thinking?) i couldn't quite test getstyle (no idea about themes), but it still basically works. do back your ~/G dir up... wrmdirhier might eat it! definitely needs testing, especially by people who have any idea how themes work. Some more getstyle - missed a shell invocation - maybe copyFile should be in wutils too...? [crmafra: Folded second patch into the first]
This commit is contained in:
committed by
Carlos R. Mafra
parent
66bd06b5d5
commit
9f7aaa8aed
@@ -158,7 +158,6 @@ char *MakeCPPArgs(char *path)
|
||||
if (buf[0] != '~') {
|
||||
strcpy(fullpath, buf);
|
||||
} else {
|
||||
char *wgethomedir();
|
||||
/* home is statically allocated. Don't free it! */
|
||||
char *home = wgethomedir();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user