mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Added path to error message.
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user