瀏覽代碼

Added path to error message.

Frank Zago 16 年之前
父節點
當前提交
9ae6796810
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/CConfigHandler.cpp

+ 1 - 1
client/CConfigHandler.cpp

@@ -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