diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-05-28 23:35:02 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-05-28 23:35:02 -0700 |
commit | 9f175d307b3e08d930744b839f245a39b31a8a3d (patch) | |
tree | 9f0f85de56b1758704fef87172d2e7fcfecaf71b /xrdp/lang.c | |
parent | 62a4403dd408f86f6a5d7e9750a2f213e6b95224 (diff) | |
download | xrdp-proprietary-9f175d307b3e08d930744b839f245a39b31a8a3d.tar.gz xrdp-proprietary-9f175d307b3e08d930744b839f245a39b31a8a3d.zip |
no logic changes, cleanup and copyright year updates
Diffstat (limited to 'xrdp/lang.c')
-rw-r--r-- | xrdp/lang.c | 6 |
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; |