From 7d5b71b2cf626b7cd666646d903a43f520bc078c Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Tue, 19 Nov 2013 22:47:22 +0000 Subject: [PATCH] - bugfix for compilation on windows --- source/glest_game/ai/ai_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/ai/ai_interface.cpp b/source/glest_game/ai/ai_interface.cpp index 557dd4ac..ac52c8fe 100644 --- a/source/glest_game/ai/ai_interface.cpp +++ b/source/glest_game/ai/ai_interface.cpp @@ -220,7 +220,7 @@ AiInterface::AiInterface(Game &game, int factionIndex, int teamIndex, //clear log file if(logLevel > 0) { #ifdef WIN32 - fp = _wfopen(Shared::Platform::utf8_decode(aiLogFile).c_str(), L"wt"); + fp = _wfopen(::Shared::Platform::utf8_decode(aiLogFile).c_str(), L"wt"); #else fp = fopen(aiLogFile.c_str(), "wt"); #endif