summaryrefslogtreecommitdiffstats
path: root/xrdp/lang.c
diff options
context:
space:
mode:
authorLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2013-06-08 18:44:34 -0700
committerLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2013-06-08 18:44:34 -0700
commit78498f66821fe68e4303836a09d42f7f11daaa21 (patch)
tree64692fe41a7407b98c104c5bb70ebcb91ef7351d /xrdp/lang.c
parent6ad1d7f78d535d5095d639ae289b5f8d1084a399 (diff)
parentc6fa03102f40e655ba54d5910ad559a8799c15e7 (diff)
downloadxrdp-proprietary-78498f66821fe68e4303836a09d42f7f11daaa21.tar.gz
xrdp-proprietary-78498f66821fe68e4303836a09d42f7f11daaa21.zip
Merge branch 'master' of github.com:neutrinolabs/xrdp
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 29031ea2..24dafb6a 100644
--- a/xrdp/lang.c
+++ b/xrdp/lang.c
@@ -1,7 +1,7 @@
/**
* xrdp: A Remote Desktop Protocol server.
*
- * Copyright (C) Jay Sorg 2004-2012
+ * Copyright (C) Jay Sorg 2004-2013
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -71,9 +71,9 @@ get_key_info_from_scan_code(int device_flags, int scan_code, int *keys,
int ext;
int index;
- ext = device_flags &KBD_FLAG_EXT; /* 0x0100 */
+ ext = device_flags & KBD_FLAG_EXT; /* 0x0100 */
shift = keys[42] || keys[54];
- altgr = keys[56] &KBD_FLAG_EXT; /* right alt */
+ altgr = keys[56] & KBD_FLAG_EXT; /* right alt */
rv = 0;
scan_code = scan_code & 0x7f;
index = ext ? g_map[scan_code].code2 : g_map[scan_code].code1;