Fix typo.

This commit is contained in:
Relintai 2022-11-30 19:36:35 +01:00
parent 8eb69b8052
commit 47e2a193c4

View File

@ -30,7 +30,7 @@
#include "android_keys_utils.h" #include "android_keys_utils.h"
unsigned int pandemoinum_code_from_android_code(unsigned int p_code) { unsigned int pandemonium_code_from_android_code(unsigned int p_code) {
for (int i = 0; android_pandemonium_code_pairs[i].android_code != AKEYCODE_MAX; i++) { for (int i = 0; android_pandemonium_code_pairs[i].android_code != AKEYCODE_MAX; i++) {
if (android_pandemonium_code_pairs[i].android_code == p_code) { if (android_pandemonium_code_pairs[i].android_code == p_code) {
return android_pandemonium_code_pairs[i].pandemonium_code; return android_pandemonium_code_pairs[i].pandemonium_code;