diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2020-09-19 17:41:03 +0300 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2020-09-19 17:51:11 +0300 |
commit | 014cbcc3801a498151c7559662d9ce85d41e4948 (patch) | |
tree | 28fa43bcf2021df68329983942f62752e8f676a3 /libass/ass_render.h | |
parent | 9a0b7b4351ff504a530bd3d00241f4ee0a39832b (diff) | |
download | libass-014cbcc3801a498151c7559662d9ce85d41e4948.tar.bz2 libass-014cbcc3801a498151c7559662d9ce85d41e4948.tar.xz |
Use bool and true/false assignments for GlyphInfo::skip
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r-- | libass/ass_render.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h index 7bdf1e3..3cb0e1c 100644 --- a/libass/ass_render.h +++ b/libass/ass_render.h @@ -21,6 +21,7 @@ #define LIBASS_RENDER_H #include <inttypes.h> +#include <stdbool.h> #include <ft2build.h> #include FT_FREETYPE_H #include FT_GLYPH_H @@ -122,7 +123,7 @@ typedef struct { // GlyphInfo and TextInfo are used for text centering and word-wrapping operations typedef struct glyph_info { unsigned symbol; - unsigned skip; // skip glyph when layouting text + bool skip; // skip glyph when layouting text ASS_Font *font; int face_index; int glyph_index; |