diff --git a/Sources/nCine/Backends/Android/AndroidJniHelper.cpp b/Sources/nCine/Backends/Android/AndroidJniHelper.cpp index 9e57c4e7..d7cd89e8 100644 --- a/Sources/nCine/Backends/Android/AndroidJniHelper.cpp +++ b/Sources/nCine/Backends/Android/AndroidJniHelper.cpp @@ -516,7 +516,7 @@ namespace nCine } } - int AndroidJniClass_Display::getCharacters(char* destination, int maxStringSize) const + int AndroidJniClass_KeyEvent::getCharacters(char* destination, int maxStringSize) const { jstring strCharacters = static_cast(AndroidJniHelper::jniEnv->CallObjectMethod(javaObject_, midGetCharacters_)); int length;