forked from organicmaps/organicmaps
Jni guideinfo fix.
This commit is contained in:
parent
b466c3834f
commit
36e7a765b9
1 changed files with 4 additions and 2 deletions
|
@ -90,8 +90,10 @@ extern "C"
|
|||
Java_com_mapswithme_country_ActiveCountryTree_getGuideInfo(JNIEnv * env, jclass clazz, jint group, jint position)
|
||||
{
|
||||
guides::GuideInfo info;
|
||||
GetMapLayout().GetGuideInfo(ToGroup(group), position, info);
|
||||
return guides::GuideNativeToJava(env, info);
|
||||
if (GetMapLayout().GetGuideInfo(ToGroup(group), position, info))
|
||||
return guides::GuideNativeToJava(env, info);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
|
|
Loading…
Add table
Reference in a new issue