Corrected return value to be of correct type.

This commit is contained in:
Philipp Wiesemann
2013-07-24 22:25:17 +02:00
parent 1af8caa0a0
commit 499372f2c1

View File

@@ -293,7 +293,7 @@ static SDL_bool LocalReferenceHolder_Init(struct LocalReferenceHolder *refholder
const int capacity = 16;
if ((*env)->PushLocalFrame(env, capacity) < 0) {
SDL_SetError("Failed to allocate enough JVM local references");
return false;
return SDL_FALSE;
}
++s_active;
refholder->m_env = env;