Fix spelling error and typo

ulab-next-nosound
Mike Rostermund 10 years ago
parent 942cdf300e
commit b3cc8f75d9

@ -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