shithub: choc

Download patch

ref: 2c7cf58786bbf80d519b02b2c112a0a2c55d898e
parent: 6e2c404f64f39e059848bc66b707dfe979f044ff
author: Simon Howard <[email protected]>
date: Sat Apr 18 16:51:22 EDT 2009

Fix GetDefaultConfigDir.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1500

--- a/src/m_config.c
+++ b/src/m_config.c
@@ -1127,6 +1127,8 @@
 
         sprintf(result, "%s%c.%s%c", homedir, DIR_SEPARATOR,
                                      PACKAGE_TARNAME, DIR_SEPARATOR);
+
+        return result;
     }
     else
 #endif /* #ifndef _WIN32 */