diff options
author | Akira TAGOH <akira@tagoh.org> | 2012-12-07 19:09:36 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2012-12-07 19:09:36 +0900 |
commit | e7954674eb4f16d0fed3018cbefb4907c89d2465 (patch) | |
tree | a3891d2335dc31ee6aba10c3447a64e123529511 /src/fccfg.c | |
parent | 959442bca138e6480418f2607a04d9343db7f438 (diff) |
Fix the wrong estimation for the memory usage information in fontconfig
Diffstat (limited to 'src/fccfg.c')
-rw-r--r-- | src/fccfg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fccfg.c b/src/fccfg.c index d3752e55..45b48694 100644 --- a/src/fccfg.c +++ b/src/fccfg.c @@ -1743,6 +1743,8 @@ FcConfigFileExists (const FcChar8 *dir, const FcChar8 *file) #else if ((!path[0] || path[strlen((char *) path)-1] != '/') && file[0] != '/') strcat ((char *) path, "/"); + else + osize--; #endif strcat ((char *) path, (char *) file); |