QTfrontend/util/FileEngine.cpp
changeset 13874 bd796e4d8920
parent 12729 d47ab9245259
child 14323 d688455cad8f
--- a/QTfrontend/util/FileEngine.cpp	Fri Oct 05 16:54:26 2018 -0400
+++ b/QTfrontend/util/FileEngine.cpp	Sat Oct 06 00:23:41 2018 +0300
@@ -313,8 +313,10 @@
 
 FileEngineHandler::FileEngineHandler(char *argv0)
 {
-    PHYSFS_init(argv0);
-
+    if (!PHYSFS_init(argv0))
+    {
+        qDebug("PHYSFS initialization failed");
+    }
     qDebug("%s", QString("[PHYSFS] Init: %1").arg(errorStr()).toLocal8Bit().constData());
 }