mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +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");
|
std::ifstream ifs(DATA_DIR "/config/settings.txt");
|
||||||
if(!ifs)
|
if(!ifs)
|
||||||
{
|
{
|
||||||
tlog1 << "Cannot open config/settings.txt !\n";
|
tlog1 << "Cannot open " DATA_DIR "/config/settings.txt !" << std::endl;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ifs.unsetf(std::ios::skipws); // Turn of white space skipping on the stream
|
ifs.unsetf(std::ios::skipws); // Turn of white space skipping on the stream
|
||||||
|
Loading…
x
Reference in New Issue
Block a user