summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-24 14:51:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commit8f670620dbf4c8092e9f834f9d65cbc607b81511 (patch)
tree1a1a8e51ecaa65955639c3f9279f6f704e6dac5d /src/client.cpp
parented77e8fb99e16e72cde0e163a9b58c5cefd8d05d (diff)
downloadplus-8f670620dbf4c8092e9f834f9d65cbc607b81511.tar.gz
plus-8f670620dbf4c8092e9f834f9d65cbc607b81511.tar.bz2
plus-8f670620dbf4c8092e9f834f9d65cbc607b81511.tar.xz
plus-8f670620dbf4c8092e9f834f9d65cbc607b81511.zip
move WMInfo function calls into SDL helper.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index b191e443d..02719debc 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -3067,7 +3067,7 @@ void Client::setIcon()
#ifdef WIN32
static SDL_SysWMinfo pInfo;
- SDL_GetWMInfo(&pInfo);
+ SDL::getWindowWMInfo(mainGraphics->getWindow(), &pInfo);
// Attempt to load icon from .ico file
HICON icon = (HICON) LoadImage(nullptr, iconFile.c_str(),
IMAGE_ICON, 64, 64, LR_LOADFROMFILE);