summaryrefslogtreecommitdiff
path: root/dix/dixfonts.c
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2010-05-06 01:54:13 +0700
committerMikhail Gusarov <dottedmag@dottedmag.net>2010-05-13 00:22:37 +0700
commit4d55c8c4ffcb5d6c6500b462a41ace8e2359151d (patch)
treef5f76565eed77d190cce81978edb04d125ed3ab3 /dix/dixfonts.c
parent3f3ff971ecff9936cebafc813af9193b97bba89c (diff)
Use lowercase variant of XNFalloc and Xstrdup
Using one variant of function/macro makes it easier to fix the code later. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix/dixfonts.c')
-rw-r--r--dix/dixfonts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/dixfonts.c b/dix/dixfonts.c
index cc58b89fd..aaa992b4d 100644
--- a/dix/dixfonts.c
+++ b/dix/dixfonts.c
@@ -1836,7 +1836,7 @@ SetDefaultFontPath(char *path)
if (!start) {
temp_path = Xprintf("%s%sbuilt-ins", path, *path ? "," : "");
} else {
- temp_path = Xstrdup(path);
+ temp_path = xstrdup(path);
}
if (!temp_path)
return BadAlloc;