diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-07-09 00:29:36 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-07-09 00:29:36 +0200 |
commit | 301d0eef68b93e031a405ef6356934768ab7bca9 (patch) | |
tree | 7729197b46d2dae6ce958dc9685e52ee919f1471 /crawl-ref/source/fontwrapper-ft.h | |
parent | 1901d993033786e03722223e195d61a2b1322329 (diff) | |
download | crawl-ref-301d0eef68b93e031a405ef6356934768ab7bca9.tar.gz crawl-ref-301d0eef68b93e031a405ef6356934768ab7bca9.zip |
Fix assumptions about char signedness.
Diffstat (limited to 'crawl-ref/source/fontwrapper-ft.h')
-rw-r--r-- | crawl-ref/source/fontwrapper-ft.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/fontwrapper-ft.h b/crawl-ref/source/fontwrapper-ft.h index 518d00de17..ab7ba53156 100644 --- a/crawl-ref/source/fontwrapper-ft.h +++ b/crawl-ref/source/fontwrapper-ft.h @@ -84,12 +84,12 @@ protected: struct GlyphInfo { // offset before drawing glyph; can be negative - char offset; + int8_t offset; // per-glyph horizontal advance - char advance; + int8_t advance; // per-glyph width - char width; + int8_t width; // does glyph have any pixels? bool renderable; |