aboutsummaryrefslogtreecommitdiffstats
path: root/libfonts_parse_alias_line.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-19 23:05:23 +0100
committerMattias Andrée <maandree@kth.se>2023-01-19 23:06:09 +0100
commit1bc3cedf6d2df394ceca7b68d19cb17980045e97 (patch)
tree65e92994a1fa31c66e5afb34663b6c8ce82e71aa /libfonts_parse_alias_line.c
parentFix libfonts_get_font_root_dirs and add libfonts dir (diff)
downloadlibfonts-1bc3cedf6d2df394ceca7b68d19cb17980045e97.tar.gz
libfonts-1bc3cedf6d2df394ceca7b68d19cb17980045e97.tar.bz2
libfonts-1bc3cedf6d2df394ceca7b68d19cb17980045e97.tar.xz
Add encoding parsing and m fix libfonts_parse_alias_line
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libfonts_parse_alias_line.c')
-rw-r--r--libfonts_parse_alias_line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfonts_parse_alias_line.c b/libfonts_parse_alias_line.c
index 3e712e2..da9ad90 100644
--- a/libfonts_parse_alias_line.c
+++ b/libfonts_parse_alias_line.c
@@ -137,10 +137,10 @@ fail:
*namep = NULL;
}
ret = -1;
+out:
if (line)
while (*line && *line != '\n')
line++;
-out:
if (endp)
*endp = *(char **)(void *)&line;
if (typep)