summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_wm.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2007-07-24 05:29:35 +0000
committerjsorg71 <jsorg71>2007-07-24 05:29:35 +0000
commit422bbf3a8991f30496c20f095bcb03c3e299f07a (patch)
tree1c6fbc3bb624bf66ee844c0dab96e9c6bf15a5d8 /xrdp/xrdp_wm.c
parent1141afb3e0856bf87d11100e23c12842e7a44a7a (diff)
downloadxrdp-proprietary-422bbf3a8991f30496c20f095bcb03c3e299f07a.tar.gz
xrdp-proprietary-422bbf3a8991f30496c20f095bcb03c3e299f07a.zip
started work on unicode
Diffstat (limited to 'xrdp/xrdp_wm.c')
-rw-r--r--xrdp/xrdp_wm.c6
1 files changed, 3 insertions, 3 deletions
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