From: kramm Date: Sun, 16 Apr 2006 13:37:35 +0000 (+0000) Subject: On win32, return 0 if installation path isn't set in the registry. X-Git-Tag: release-0-8-0~218 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=c516d8e596f5d4c6960b2af1f4b45bf5f08fe5b4 On win32, return 0 if installation path isn't set in the registry. --- diff --git a/lib/os.c b/lib/os.c index eba887b..c8135f6 100755 --- 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