Skip to content

Commit f8544fe

Browse files
committed
Fix missing write in TTStreamWriter::printf.
I don't think it is possible to exercise the failing codepath except with artificial fonts having extremely long metadata entries, but the missing write is clear from the context.
1 parent a26f9a3 commit f8544fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extern/ttconv/ttutil.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ void TTStreamWriter::printf(const char* format, ...)
4545
#else
4646
vsnprintf(buffer2, size, format, arg_list);
4747
#endif
48+
this->write(buffer2);
4849
free(buffer2);
4950
} else {
5051
this->write(buffer);

0 commit comments

Comments
 (0)