diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-03 15:57:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-03 15:57:14 +0000 |
commit | cd4e43a5af4dcf660969bc5abada0d97cfd0cd03 (patch) | |
tree | 2cb7da25499aa1258196b6a2dc80346cfe40a2f1 /plugins/PasteIt/src | |
parent | 23617c95e41dc21347d4957c29fe5989a36e2a85 (diff) |
version related code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@7478 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PasteIt/src')
-rw-r--r-- | plugins/PasteIt/src/PasteIt.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/PasteIt/src/PasteIt.cpp b/plugins/PasteIt/src/PasteIt.cpp index 219c01f4b1..40510ee3b1 100644 --- a/plugins/PasteIt/src/PasteIt.cpp +++ b/plugins/PasteIt/src/PasteIt.cpp @@ -65,9 +65,6 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReser extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
gMirandaVersion = mirandaVersion;
- if (mirandaVersion < PLUGIN_MAKE_VERSION(0, 8, 0, 0))
- return NULL;
-
return &pluginInfo;
}
@@ -166,15 +163,12 @@ void PasteIt(HANDLE hContact, int mode) Miranda_Plugin_InfoEx infoEx = (Miranda_Plugin_InfoEx) GetProcAddress(hInst, "MirandaPluginInfoEx");
PLUGININFOEX* pi = NULL;
if(infoEx != NULL)
- {
pi = infoEx(gMirandaVersion);
- }
+
// If PLUGININFOEX flags contains UNICODE_AWARE,
// this mean that protocol is unicode.
if(pi != NULL && pi->cbSize == sizeof(PLUGININFOEX))
- {
isUnicodePlugin = pi->flags & UNICODE_AWARE;
- }
}
}
|