mirror of
https://github.com/love2d/love-android.git
synced 2026-08-12 08:31:04 +02:00
ensure that static variable is properly initialized
This commit is contained in:
@@ -54,7 +54,7 @@ double getScreenScale()
|
||||
|
||||
const char* getSelectedGameFile()
|
||||
{
|
||||
static const char *path;
|
||||
static const char *path = NULL;
|
||||
|
||||
if (!path) {
|
||||
JNIEnv *env = (JNIEnv*) SDL_AndroidGetJNIEnv();
|
||||
|
||||
Reference in New Issue
Block a user