Fix logic error in keymap find proc.

This commit is contained in:
Michael Jumper 2014-01-03 12:06:19 -08:00
parent be90a449e7
commit 5afe6daac9

View File

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