On win32, return 0 if installation path isn't set in the registry.
[swftools.git] / lib / os.c
index eba887b..c8135f6 100755 (executable)
--- a/lib/os.c
+++ b/lib/os.c
@@ -101,7 +101,7 @@ char* getInstallationPath()
     if(path)
        return path;
     else
-       return "C:\\swftools";
+       return 0;
 #elif defined(CYGWIN)
     return SWFTOOLS_DATADIR;
 #else