mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
ui: use enum to string helpers
Minor code simplification. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-id: 20180801092508.4927-1-marcandre.lureau@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
committed by
Gerd Hoffmann
parent
0ae0b069aa
commit
c809d1d2f4
@ -84,7 +84,7 @@ static void walk_map(struct xkb_keymap *map, xkb_keycode_t code, void *data)
|
||||
}
|
||||
fprintf(outfile, "# evdev %d (0x%x), QKeyCode \"%s\", number 0x%x\n",
|
||||
evdev, evdev,
|
||||
QKeyCode_lookup.array[qcode],
|
||||
QKeyCode_str(qcode),
|
||||
qcode_to_number(qcode));
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user