Merge branch 'devel' of https://github.com/neutrinolabs/xrdp into devel

ulab-next-nosound
speidy 10 years ago
commit 160d950bd5

@ -246,7 +246,7 @@ get_keymaps(int keylayout, struct xrdp_keymap *keymap)
if (fd != -1) if (fd != -1)
{ {
lkeymap = (struct xrdp_keymap *)g_malloc(sizeof(struct xrdp_keymap), 0); lkeymap = (struct xrdp_keymap *)g_malloc(sizeof(struct xrdp_keymap), 0);
/* make a copy of the build in kaymap */ /* make a copy of the built-in keymap */
g_memcpy(lkeymap, keymap, sizeof(struct xrdp_keymap)); g_memcpy(lkeymap, keymap, sizeof(struct xrdp_keymap));
/* clear the keymaps */ /* clear the keymaps */
g_memset(keymap, 0, sizeof(struct xrdp_keymap)); g_memset(keymap, 0, sizeof(struct xrdp_keymap));

Loading…
Cancel
Save