summaryrefslogtreecommitdiff
path: root/src/fcstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcstr.c')
-rw-r--r--src/fcstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcstr.c b/src/fcstr.c
index 3309014..5faf579 100644
--- a/src/fcstr.c
+++ b/src/fcstr.c
@@ -770,7 +770,7 @@ FcStrCopyFilename (const FcChar8 *s)
return 0;
size = strlen ((char *) home) + strlen ((char *) s);
full = (FcChar8 *) malloc (size);
- if (!new)
+ if (!full)
return 0;
strcpy ((char *) full, (char *) home);
strcat ((char *) full, (char *) s + 1);