summaryrefslogtreecommitdiffstats
path: root/xrdp/lang.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2007-09-23 07:49:14 +0000
committerjsorg71 <jsorg71>2007-09-23 07:49:14 +0000
commitd04895c5d0a2c5119fb42e9a0cdd8bb1d18475c9 (patch)
tree83efc2361dc6f9b766e863fb5c776e1a26a8b3a4 /xrdp/lang.c
parent7f919dc17e445c5fec4a0636b3d37b1f4da47a3d (diff)
downloadxrdp-proprietary-d04895c5d0a2c5119fb42e9a0cdd8bb1d18475c9.tar.gz
xrdp-proprietary-d04895c5d0a2c5119fb42e9a0cdd8bb1d18475c9.zip
unicode
Diffstat (limited to 'xrdp/lang.c')
-rw-r--r--xrdp/lang.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xrdp/lang.c b/xrdp/lang.c
index 0c6728df..b4d746eb 100644
--- a/xrdp/lang.c
+++ b/xrdp/lang.c
@@ -551,7 +551,7 @@ int cs_altgr[] =
};
/*****************************************************************************/
-int APP_CC
+twchar APP_CC
get_char_from_scan_code(int device_flags, int scan_code, int* keys,
int caps_lock, int num_lock, int scroll_lock,
int keylayout)
@@ -637,7 +637,7 @@ get_char_from_scan_code(int device_flags, int scan_code, int* keys,
case 81: /* 3 */
case 82: /* 0 */
case 83: /* . */
- return rv;
+ return (twchar)rv;
}
}
if (ext)
@@ -673,5 +673,5 @@ get_char_from_scan_code(int device_flags, int scan_code, int* keys,
rv = rv + ('a' - 'A');
}
}
- return rv;
+ return (twchar)rv;
}