From 6fcb5c4b9f03dd3e4b9fea0475aec2c21a8510bc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 12 Jan 2014 17:11:02 +0300 Subject: fix showing branding icon in windows. --- src/client.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index ae76813ab..cd0030f3a 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -358,12 +358,16 @@ void Client::gameInit() SDL_EventState(SDL_USEREVENT, SDL_IGNORE); #ifdef WIN32 + extractDataDir(); + mountDataDir(); + setIcon(); + initGraphics(); +#else setIcon(); -#endif - initGraphics(); extractDataDir(); mountDataDir(); +#endif if (mOptions.dataPath.empty() && !branding.getStringValue("dataPath").empty()) -- cgit v1.2.3-70-g09d2