From 9dee22fd9d01b717e32b50f3edb4fddb81732010 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 17 May 2023 14:34:02 +0200 Subject: [PATCH] Illustration.height must return the height. --- lib/src/main/cpp/libkiwix/illustration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/main/cpp/libkiwix/illustration.cpp b/lib/src/main/cpp/libkiwix/illustration.cpp index d86b0cc..5fa51d8 100644 --- a/lib/src/main/cpp/libkiwix/illustration.cpp +++ b/lib/src/main/cpp/libkiwix/illustration.cpp @@ -39,7 +39,7 @@ METHOD0(jint, width) { } METHOD0(jint, height) { - return TO_JNI(THIS->width); + return TO_JNI(THIS->height); } METHOD0(jstring, mimeType) {