/[rdesktop]/jpeg/rdesktop/trunk/cache.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /jpeg/rdesktop/trunk/cache.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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);

Legend:
Removed from v.1293  
changed lines
  Added in v.1294

  ViewVC Help
Powered by ViewVC 1.1.26