Fix logic error in keymap find proc.
This commit is contained in:
parent
be90a449e7
commit
5afe6daac9
@ -50,7 +50,7 @@ const guac_rdp_keymap* guac_rdp_keymap_find(const char* name) {
|
|||||||
|
|
||||||
/* For each keymap */
|
/* For each keymap */
|
||||||
const guac_rdp_keymap** current = GUAC_KEYMAPS;
|
const guac_rdp_keymap** current = GUAC_KEYMAPS;
|
||||||
while (current != NULL) {
|
while (*current != NULL) {
|
||||||
|
|
||||||
/* If name matches, done */
|
/* If name matches, done */
|
||||||
if (strcmp((*current)->name, name) == 0)
|
if (strcmp((*current)->name, name) == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user