From 422bbf3a8991f30496c20f095bcb03c3e299f07a Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Tue, 24 Jul 2007 05:29:35 +0000 Subject: started work on unicode --- xrdp/xrdp_wm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xrdp/xrdp_wm.c') diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c index 4fa9f405..a8e57056 100644 --- a/xrdp/xrdp_wm.c +++ b/xrdp/xrdp_wm.c @@ -1039,7 +1039,7 @@ xrdp_wm_key(struct xrdp_wm* self, int device_flags, int scan_code) { int msg; int key_down_index; - char c; + int c; struct xrdp_key_down* key_down; /*g_printf("count %d\n", self->key_down_list->count);*/ @@ -1091,9 +1091,9 @@ xrdp_wm_key(struct xrdp_wm* self, int device_flags, int scan_code) self->session->client_info->keylayout); if (c != 0) { - self->mm->mod->mod_event(self->mm->mod, msg, (unsigned char)c, + self->mm->mod->mod_event(self->mm->mod, msg, c, 0xffff, scan_code, device_flags); - xrdp_add_key_down(self, (unsigned char)c, 0xffff, scan_code, + xrdp_add_key_down(self, c, 0xffff, scan_code, device_flags); } else -- cgit v1.2.1