aboutsummaryrefslogtreecommitdiffstats
path: root/libfonts_get_default_font.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-08 16:58:46 +0100
committerMattias Andrée <maandree@kth.se>2023-01-08 16:58:46 +0100
commit4d2cadb1719675dc832b9e8cfdd00a27f9189612 (patch)
tree004a4905337bc9e2bca9835e5ecb7831831c0d75 /libfonts_get_default_font.c
parentAdd environment spoofing (diff)
downloadlibfonts-4d2cadb1719675dc832b9e8cfdd00a27f9189612.tar.gz
libfonts-4d2cadb1719675dc832b9e8cfdd00a27f9189612.tar.bz2
libfonts-4d2cadb1719675dc832b9e8cfdd00a27f9189612.tar.xz
Draft implementations of libfonts_get_{default,output}_rendering_settings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libfonts_get_default_font.c')
-rw-r--r--libfonts_get_default_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfonts_get_default_font.c b/libfonts_get_default_font.c
index 7c21b1f..25b18e1 100644
--- a/libfonts_get_default_font.c
+++ b/libfonts_get_default_font.c
@@ -22,7 +22,7 @@ getn(const char *file_part1, size_t file_part1_len, const char *file_part2, cons
if (!path) {
enomem:
errno = ENOMEM;
- return NULL;
+ return NULL; /* TODO abort function */
}
memcpy(path, file_part1, file_part1_len);