1
0
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:
kojima
1999-09-22 02:09:42 +00:00
parent 54e241d2fc
commit d5fbe62ddd
15 changed files with 177 additions and 85 deletions

View File

@@ -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 */