diff options
author | Mattias Andrée <maandree@kth.se> | 2021-08-05 17:30:53 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-08-05 17:30:53 +0200 |
commit | 210d6ad784d55362d24a22cd7e07725a794d46cd (patch) | |
tree | d4a0359da4cc1dad27266994954b608a1ab1ff51 /libskrift_apply_glyph.c | |
parent | demo: refuse to write image to terminal (diff) | |
download | libskrift-210d6ad784d55362d24a22cd7e07725a794d46cd.tar.gz libskrift-210d6ad784d55362d24a22cd7e07725a794d46cd.tar.bz2 libskrift-210d6ad784d55362d24a22cd7e07725a794d46cd.tar.xz |
minor fixes and cleanups, and update to use new version of libgrapheme and add text length parameter instead of using NUL-termination
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libskrift_apply_glyph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libskrift_apply_glyph.c b/libskrift_apply_glyph.c index 85e4bd2..3fc3fc5 100644 --- a/libskrift_apply_glyph.c +++ b/libskrift_apply_glyph.c @@ -95,7 +95,7 @@ libskrift_apply_glyph(LIBSKRIFT_CONTEXT *ctx, const struct libskrift_glyph *glyp startc = (uint16_t)((int16_t)x1 - sx1); startr = (uint16_t)((int16_t)y1 - sy1); - /* Post-last pixel in glyph to draw*/ + /* Post-last pixel in glyph to draw */ endc = (uint16_t)((int16_t)x2 - sx1); endr = (uint16_t)((int16_t)y2 - sy1); |