On win32, return 0 if installation path isn't set in the registry.
authorkramm <kramm>
Sun, 16 Apr 2006 13:37:35 +0000 (13:37 +0000)
committerkramm <kramm>
Sun, 16 Apr 2006 13:37:35 +0000 (13:37 +0000)
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