chiark
/
gitweb
/
~sgtatham
/
chroma-debian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'upstream/1.19' into debian
[chroma-debian.git]
/
sdlfont.c
diff --git
a/sdlfont.c
b/sdlfont.c
index 58103f98c6eeaa210bab877d7303d191e649e575..65214dc82a78dc41950931af3d66ff7f09d072d9 100644
(file)
--- a/
sdlfont.c
+++ b/
sdlfont.c
@@
-166,7
+166,7
@@
int font_calculate_width(char *text, int cache)
{
int n, x;
FT_Glyph glyph;
- Uint
16
c;
+ Uint
32
c;
FT_UInt glyph_index;
/* Determine width of text */
@@
-224,7
+224,7
@@
SDL_Surface* font_render(char *text, int foreground)
int pass;
Uint32 *dst;
Uint32 colour;
- Uint
16
c;
+ Uint
32
c;
FT_UInt glyph_index;
FT_Bitmap* bitmap;