shithub: choc

Download patch

ref: 50443ac902340f90d6c87769d77e8836f1879ed6
parent: 28445ff77a0cc82d29900a6e5867a0fa577f4275
author: Simon Howard <[email protected]>
date: Tue Feb 14 15:33:42 EST 2012

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

Subversion-branch: /branches/v2-branch
Subversion-revision: 2505

--- a/src/m_config.c
+++ b/src/m_config.c
@@ -1704,7 +1704,10 @@
         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: