summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/Xfire_icon_mng.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-10-18 14:34:21 +0000
committerRobert Pösel <robyer@seznam.cz>2013-10-18 14:34:21 +0000
commit1e7f13db4500b6eb520651b44439d9ae78ca532c (patch)
tree927a0a7d51477ddc7d442221726562c858dc90c4 /protocols/Xfire/src/Xfire_icon_mng.cpp
parentc225876c8534502f20d55f22f2d07ce729590bcd (diff)
XFire: compile plugin as unicode, various fixes and cleanup, version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@6516 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/Xfire_icon_mng.cpp')
-rw-r--r--protocols/Xfire/src/Xfire_icon_mng.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Xfire/src/Xfire_icon_mng.cpp b/protocols/Xfire/src/Xfire_icon_mng.cpp
index 14abababea..8b2fae6167 100644
--- a/protocols/Xfire/src/Xfire_icon_mng.cpp
+++ b/protocols/Xfire/src/Xfire_icon_mng.cpp
@@ -130,7 +130,7 @@ Xfire_icon_cache Xfire_icon_mng::LoadGameIcon(unsigned int gameid) {
return entry;
strcat_s(path,MAX_PATH,IconsdllName);
- hIconDll = LoadLibrary(path);
+ hIconDll = LoadLibraryA(path);
}
//dll konnte geladen werden
@@ -141,7 +141,7 @@ Xfire_icon_cache Xfire_icon_mng::LoadGameIcon(unsigned int gameid) {
Xfire_base::strtoupper(resourcename);
//versuche die resource zufinden
- HRSRC hrsrc = FindResource(hIconDll,resourcename,"ICONS");
+ HRSRC hrsrc = FindResourceA(hIconDll,resourcename,"ICONS");
if(hrsrc) {
//aus der resource ein HICON erstellen
int size=SizeofResource(hIconDll,hrsrc);