Undo incorrect commit

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1293 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Peter Åstrand 2006-10-11 17:59:18 +00:00
parent 83817d6160
commit 712030924b
2 changed files with 1 additions and 8 deletions

View File

@ -282,10 +282,8 @@ cache_get_font(uint8 font, uint16 character)
if ((font < NUM_ELEMENTS(g_fontcache)) && (character < NUM_ELEMENTS(g_fontcache[0]))) if ((font < NUM_ELEMENTS(g_fontcache)) && (character < NUM_ELEMENTS(g_fontcache[0])))
{ {
glyph = &g_fontcache[font][character]; glyph = &g_fontcache[font][character];
if (glyph->pixmap != NULL) { if (glyph->pixmap != NULL)
//printf("glyph:%p\n", glyph);
return glyph; return glyph;
}
} }
error("get font %d:%d\n", font, character); error("get font %d:%d\n", font, character);

View File

@ -495,7 +495,6 @@ send_winkey(uint32 ev_time, BOOL pressed, BOOL leftkey)
static void static void
reset_winkey(uint32 ev_time) reset_winkey(uint32 ev_time)
{ {
printf("reset_winkey\n");
if (g_use_rdp5) if (g_use_rdp5)
{ {
/* For some reason, it seems to suffice to release /* For some reason, it seems to suffice to release
@ -953,10 +952,6 @@ reset_modifier_keys()
if (g_numlock_sync) if (g_numlock_sync)
rdp_send_input(ev_time, RDP_INPUT_SYNCHRONIZE, 0, ui_get_numlock_state(state), 0); rdp_send_input(ev_time, RDP_INPUT_SYNCHRONIZE, 0, ui_get_numlock_state(state), 0);
//sleep(4);
//rdp_send_input(time(NULL), RDP_INPUT_SCANCODE, RDP_KEYPRESS, 0x9c, 0);
//rdp_send_input(time(NULL), RDP_INPUT_SCANCODE, RDP_KEYRELEASE, 0x9c, 0);
} }