Parent Directory | Revision Log | Patch
revision 1293 by astrand, Wed Oct 11 17:56:05 2006 UTC | revision 1294 by astrand, Wed Oct 11 17:59:18 2006 UTC | |
---|---|---|
# | Line 282 cache_get_font(uint8 font, uint16 charac | Line 282 cache_get_font(uint8 font, uint16 charac |
282 | if ((font < NUM_ELEMENTS(g_fontcache)) && (character < NUM_ELEMENTS(g_fontcache[0]))) | if ((font < NUM_ELEMENTS(g_fontcache)) && (character < NUM_ELEMENTS(g_fontcache[0]))) |
283 | { | { |
284 | glyph = &g_fontcache[font][character]; | glyph = &g_fontcache[font][character]; |
285 | if (glyph->pixmap != NULL) { | if (glyph->pixmap != NULL) |
//printf("glyph:%p\n", glyph); | ||
286 | return glyph; | return glyph; |
} | ||
287 | } | } |
288 | ||
289 | error("get font %d:%d\n", font, character); | error("get font %d:%d\n", font, character); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |