Commit 2da73747 authored by Giovanni Panozzo's avatar Giovanni Panozzo

Use decimal instead of hex on rdp keycode map

parent 9615d6ac
......@@ -572,12 +572,12 @@ static void remmina_rdp_event_init_keymap(rfContext* rfi, const gchar* strmap)
s = strmap;
rfi->keymap = g_array_new(FALSE, TRUE, sizeof(RemminaPluginRdpKeymapEntry));
while(1) {
v1 = strtol(s, &endptr, 16);
v1 = strtol(s, &endptr, 10);
if (endptr == s) break;
s = endptr;
if (*s != ':') break;
s++;
v2 = strtol(s, &endptr, 16);
v2 = strtol(s, &endptr, 10);
if (endptr == s) break;
s = endptr;
ke.orig_keycode = v1 & 0x7fffffff;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment