From 5975b2d0903bd5df128d55e20cd27d7c13b4e46c Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 16 Jun 2012 17:42:08 +0000 Subject: another portion of "#ifdef Unicode" removal git-svn-id: http://svn.miranda-ng.org/main/trunk@448 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ZeroNotification/main.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'plugins/ZeroNotification/main.c') diff --git a/plugins/ZeroNotification/main.c b/plugins/ZeroNotification/main.c index 077b9748a8..946699b18a 100644 --- a/plugins/ZeroNotification/main.c +++ b/plugins/ZeroNotification/main.c @@ -257,19 +257,13 @@ int __declspec(dllexport) Load(PLUGINLINK *link) CallService(MS_SYSTEM_GETVERSIONTEXT, (WPARAM)sizeof(temp), (LPARAM)temp); -#ifdef _UNICODE + if (strstr(temp, "Unicode") == NULL) { //ReportError(TranslateT("Please update "PLUGINNAME" to ANSI Version")); //debug return 1; } -#else - if (strstr(temp, "Unicode") != NULL) - { - //ReportError(Translate("Please update "PLUGINNAME" to Unicode Version")); - return 1; - } -#endif + //The menu item - begin if (!DBGetContactSettingByte(NULL,PLUGINNAME_SHORT,"HideMenu",1)) -- cgit v1.2.3