Merge pull request #187 from SaaldjorMike/fix-typo
Fix spelling error and typo
This commit is contained in:
commit
39e9834c53
@ -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…
Reference in New Issue
Block a user