foxygit / doom Log in
commit 2c7cf58786bbf80d519b02b2c112a0a2c55d898e
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sat Apr 18 20:51:22 2009 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sat Apr 18 20:51:22 2009 +0000

    Fix GetDefaultConfigDir.

    Subversion-branch: /branches/raven-branch
    Subversion-revision: 1500
---
 src/m_config.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/m_config.c b/src/m_config.c
index 38ec8e00..a746e151 100644
--- a/src/m_config.c
+++ b/src/m_config.c
@@ -1127,6 +1127,8 @@ static char *GetDefaultConfigDir(void)

         sprintf(result, "%s%c.%s%c", homedir, DIR_SEPARATOR,
                                      PACKAGE_TARNAME, DIR_SEPARATOR);
+
+        return result;
     }
     else
 #endif /* #ifndef _WIN32 */