ensure that static variable is properly initialized

This commit is contained in:
fysx
2014-02-13 01:31:20 +01:00
parent a5284dccf6
commit 288b25c585
+1 -1
View File
@@ -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();