summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2012-02-14 20:33:42 +0000
committerSimon Howard2012-02-14 20:33:42 +0000
commit50443ac902340f90d6c87769d77e8836f1879ed6 (patch)
tree1300db0e0981d6676a890185af9b75e7b48d793c /src
parent28445ff77a0cc82d29900a6e5867a0fa577f4275 (diff)
downloadchocolate-doom-50443ac902340f90d6c87769d77e8836f1879ed6.tar.gz
chocolate-doom-50443ac902340f90d6c87769d77e8836f1879ed6.tar.bz2
chocolate-doom-50443ac902340f90d6c87769d77e8836f1879ed6.zip
Don't print bogus message about config dir when there's nothing to say.
Subversion-branch: /branches/v2-branch Subversion-revision: 2505
Diffstat (limited to 'src')
-rw-r--r--src/m_config.c5
1 files changed, 4 insertions, 1 deletions
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: