From 175c951e8ea2977810c946045dc15252a6f2c49e Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 10 Jul 2006 11:12:11 +0000 Subject: Add cyx's patch for #1497725 - GUI: trying to enter empty CD drive svn-id: r23475 --- common/config-manager.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'common/config-manager.cpp') diff --git a/common/config-manager.cpp b/common/config-manager.cpp index 7651f58ee2..1f79c22c07 100644 --- a/common/config-manager.cpp +++ b/common/config-manager.cpp @@ -124,8 +124,15 @@ void ConfigManager::loadDefaultConfigFile() { char oldConfigFile[MAXPATHLEN]; GetWindowsDirectory(oldConfigFile, MAXPATHLEN); strcat(oldConfigFile, "\\" DEFAULT_CONFIG_FILE); - if (fopen(oldConfigFile, "r")) + if (fopen(oldConfigFile, "r")) { + printf("The default location of the config file (scummvm.ini) in ScummVM has changed,\n"); + printf("under Windows NT4/2000/XP/Vista. You may want to consider moving your config\n"); + printf("file from the old default location:\n"); + printf("%s\n", oldConfigFile); + printf("to the new default location:\n"); + printf("%s\n\n", configFile); strcpy(configFile, oldConfigFile); + } } } else { // Check windows directory -- cgit v1.2.3