mirror of https://github.com/kiwix/libkiwix.git
Fix typo getTagStr in the wrapper
This commit is contained in:
parent
bd74ebed1e
commit
b53f531f2b
|
@ -68,7 +68,7 @@ GETTER(jstring, getFaviconUrl)
|
||||||
GETTER(jstring, getFaviconMimeType)
|
GETTER(jstring, getFaviconMimeType)
|
||||||
|
|
||||||
METHOD(jstring, Book, getTagStr, jstring tagName) try {
|
METHOD(jstring, Book, getTagStr, jstring tagName) try {
|
||||||
auto cRet = Book->getTagStr(jni2c(tagName, env));
|
auto cRet = BOOK->getTagStr(jni2c(tagName, env));
|
||||||
return c2jni(cRet, env);
|
return c2jni(cRet, env);
|
||||||
} catch(...) {
|
} catch(...) {
|
||||||
return c2jni<std::string>("", env);
|
return c2jni<std::string>("", env);
|
||||||
|
|
Loading…
Reference in New Issue