foxygit / doom Log in
commit 50443ac902340f90d6c87769d77e8836f1879ed6
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Tue Feb 14 20:33:42 2012 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Tue Feb 14 20:33:42 2012 +0000

    Don't print bogus message about config dir when there's nothing to say.

    Subversion-branch: /branches/v2-branch
    Subversion-revision: 2505
---
 src/m_config.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/m_config.c b/src/m_config.c
index e66e28e7..3ebc3812 100644
--- a/src/m_config.c
+++ b/src/m_config.c
@@ -1704,7 +1704,10 @@ void M_SetConfigDir(char *dir)
         configdir = GetDefaultConfigDir();
     }

-    printf("Using %s for configuration and saves\n", configdir);
+    if (strcmp(configdir, "") != 0)
+    {
+        printf("Using %s for configuration and saves\n", configdir);
+    }

     // Make the directory if it doesn't already exist: