summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_bitmap.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-10-09 07:04:32 +0000
committerjsorg71 <jsorg71>2006-10-09 07:04:32 +0000
commit8cf3c7eaaaae32d473b1bdac84c3d3f08864916b (patch)
treeb4236ab1a47070a0b2eff0b3ca3d56787f8c4058 /xrdp/xrdp_bitmap.c
parent3ab171a462c2aa5d1c326da54bc77f37f96b8ef5 (diff)
downloadxrdp-proprietary-8cf3c7eaaaae32d473b1bdac84c3d3f08864916b.tar.gz
xrdp-proprietary-8cf3c7eaaaae32d473b1bdac84c3d3f08864916b.zip
altgr fix
Diffstat (limited to 'xrdp/xrdp_bitmap.c')
-rw-r--r--xrdp/xrdp_bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xrdp/xrdp_bitmap.c b/xrdp/xrdp_bitmap.c
index 2cb38aff..56b8f7e7 100644
--- a/xrdp/xrdp_bitmap.c
+++ b/xrdp/xrdp_bitmap.c
@@ -1385,7 +1385,7 @@ xrdp_bitmap_def_proc(struct xrdp_bitmap* self, int msg,
self->wm->num_lock,
self->wm->scroll_lock,
self->wm->session->client_info->keylayout);
- if (c != 0)
+ if ((unsigned char)c >= 32)
{
add_char_at(self->caption1, c, self->edit_pos);
self->edit_pos++;