mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
fixed font bug in WINGs
font panel problems po file problems misc bugs
This commit is contained in:
12
src/misc.c
12
src/misc.c
@@ -153,11 +153,13 @@ MakeCPPArgs(char *path)
|
||||
|
||||
/* put the dir where the menu is being read from to the
|
||||
* search path */
|
||||
tmp = wstrdup(path);
|
||||
buf = strrchr(tmp, '/');
|
||||
if (buf) *buf = 0; /* trunc filename */
|
||||
putdef(line, " -I", tmp);
|
||||
free(tmp);
|
||||
if (path) {
|
||||
tmp = wstrdup(path);
|
||||
buf = strrchr(tmp, '/');
|
||||
if (buf) *buf = 0; /* trunc filename */
|
||||
putdef(line, " -I", tmp);
|
||||
free(tmp);
|
||||
}
|
||||
|
||||
|
||||
/* this should be done just once, but it works this way */
|
||||
|
||||
Reference in New Issue
Block a user