summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/imagecache.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-15 20:04:13 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-15 20:04:13 +0000
commite521b812384a0e93f48e078c6cb248913dcc893a (patch)
tree13b1de3e9bef13a48af0318f1fd338915dd69e9a /plugins/SmileyAdd/imagecache.cpp
parentae481600939fb5420b80a8a7ef84f0ce9d6b3356 (diff)
another portion of "#ifsef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@437 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/imagecache.cpp')
-rw-r--r--plugins/SmileyAdd/imagecache.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/SmileyAdd/imagecache.cpp b/plugins/SmileyAdd/imagecache.cpp
index b771c4941b..8fdcea9003 100644
--- a/plugins/SmileyAdd/imagecache.cpp
+++ b/plugins/SmileyAdd/imagecache.cpp
@@ -75,11 +75,9 @@ static HMODULE LoadDll(const bkstring& file)
{
FreeLibrary(lastmodule);
lastdllname = file;
-#if (defined _UNICODE || defined UNICODE)
+
lastmodule = LoadLibraryEx(file.c_str(), NULL, LOAD_LIBRARY_AS_DATAFILE);
-#else
- lastmodule = LoadLibraryEx(file.c_str(), NULL, DONT_RESOLVE_DLL_REFERENCES);
-#endif
+
}
laststamp = time(NULL);