1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-25 21:38:59 +02:00

Added path to error message.

This commit is contained in:
Frank Zago 2009-10-05 01:49:22 +00:00
parent 92d856d3e4
commit 9ae6796810

@ -347,7 +347,7 @@ void config::CConfigHandler::init()
std::ifstream ifs(DATA_DIR "/config/settings.txt");
if(!ifs)
{
tlog1 << "Cannot open config/settings.txt !\n";
tlog1 << "Cannot open " DATA_DIR "/config/settings.txt !" << std::endl;
return;
}
ifs.unsetf(std::ios::skipws); // Turn of white space skipping on the stream