mirror of
https://github.com/yawut/SDL.git
synced 2026-08-14 21:16:09 -05:00
Corrected return value to be of correct type.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user