summaryrefslogtreecommitdiff
path: root/plugins/Scriver/msgs.c
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 11:13:37 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 11:13:37 +0000
commit721aea0764451e985d575236205808bbef298244 (patch)
tree3a1c566c364e5fc2fff86b87d494497e7de6f93d /plugins/Scriver/msgs.c
parent1784cdf49b8196219563795cf3b11b7c4c2a6746 (diff)
one more "#ifsef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@409 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/msgs.c')
-rw-r--r--plugins/Scriver/msgs.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/plugins/Scriver/msgs.c b/plugins/Scriver/msgs.c
index a3ce62f050..c0f63b6538 100644
--- a/plugins/Scriver/msgs.c
+++ b/plugins/Scriver/msgs.c
@@ -174,7 +174,6 @@ static int MessageEventAdded(WPARAM wParam, LPARAM lParam)
return 0;
}
-#if defined(_UNICODE)
static INT_PTR SendMessageCommandW(WPARAM wParam, LPARAM lParam)
{
HWND hwnd;
@@ -217,7 +216,6 @@ static INT_PTR SendMessageCommandW(WPARAM wParam, LPARAM lParam)
}
return 0;
}
-#endif
static INT_PTR SendMessageCommand(WPARAM wParam, LPARAM lParam)
{
@@ -291,11 +289,7 @@ static int TypingMessage(WPARAM wParam, LPARAM lParam)
tn.cbSize = sizeof(tn);
tn.tszInfoTitle = TranslateT("Typing Notification");
tn.tszInfo = szTip;
-#ifdef UNICODE
tn.dwInfoFlags = NIIF_INFO | NIIF_INTERN_UNICODE;
-#else
- tn.dwInfoFlags = NIIF_INFO;
-#endif
tn.uTimeout = 1000 * 4;
CallService(MS_CLIST_SYSTRAY_NOTIFY, 0, (LPARAM) & tn);
}
@@ -461,15 +455,6 @@ static void RegisterStatusIcons() {
sid.flags = MBF_HIDDEN;
sid.szTooltip = NULL;
AddStickyStatusIcon((WPARAM) 0, (LPARAM) &sid);
-
-#if !defined( _UNICODE )
- sid.dwId = 0;
- sid.hIcon = CopyIcon(GetCachedIcon("scriver_UNICODEOFF"));
- sid.hIconDisabled = CopyIcon(GetCachedIcon("scriver_UNICODEOFF"));
- sid.flags = 0;
- sid.szTooltip = NULL;
- AddStickyStatusIcon((WPARAM) 0, (LPARAM) &sid);
-#endif
}
void ChangeStatusIcons() {
@@ -626,9 +611,7 @@ int OnLoadModule(void) {
HookEvent_Ex(ME_CLIST_PREBUILDCONTACTMENU, PrebuildContactMenu);
CreateServiceFunction_Ex(MS_MSG_SENDMESSAGE, SendMessageCommand);
- #if defined(_UNICODE)
CreateServiceFunction_Ex(MS_MSG_SENDMESSAGEW, SendMessageCommandW);
- #endif
CreateServiceFunction_Ex(MS_MSG_GETWINDOWAPI, GetWindowAPI);
CreateServiceFunction_Ex(MS_MSG_GETWINDOWCLASS, GetWindowClass);
CreateServiceFunction_Ex(MS_MSG_GETWINDOWDATA, GetWindowData);