summaryrefslogtreecommitdiff
path: root/plugins/Scriver/multimon.h
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/multimon.h
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/multimon.h')
-rw-r--r--plugins/Scriver/multimon.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/Scriver/multimon.h b/plugins/Scriver/multimon.h
index 95b81bbe2f..1ad717c554 100644
--- a/plugins/Scriver/multimon.h
+++ b/plugins/Scriver/multimon.h
@@ -143,14 +143,9 @@ typedef struct {
(*(FARPROC*)&g_pfnMonitorFromRect = GetProcAddress(hUser32,"MonitorFromRect")) &&
(*(FARPROC*)&g_pfnMonitorFromPoint = GetProcAddress(hUser32,"MonitorFromPoint")) &&
(*(FARPROC*)&g_pfnEnumDisplayMonitors = GetProcAddress(hUser32,"EnumDisplayMonitors")) &&
- #ifdef UNICODE
- (*(FARPROC*)&g_pfnGetMonitorInfo = GetProcAddress(hUser32,"GetMonitorInfoW")) &&
+ (*(FARPROC*)&g_pfnGetMonitorInfo = GetProcAddress(hUser32,"GetMonitorInfoW")) &&
(*(FARPROC*)&g_pfnEnumDisplayDevices = GetProcAddress(hUser32,"EnumDisplayDevicesW")) &&
- #else
- (*(FARPROC*)&g_pfnGetMonitorInfo = GetProcAddress(hUser32,"GetMonitorInfoA")) &&
- (*(FARPROC*)&g_pfnEnumDisplayDevices = GetProcAddress(hUser32,"EnumDisplayDevicesA")) &&
- #endif
- (GetSystemMetrics(SM_CXVIRTUALSCREEN) >= GetSystemMetrics(SM_CXSCREEN)) &&
+ (GetSystemMetrics(SM_CXVIRTUALSCREEN) >= GetSystemMetrics(SM_CXSCREEN)) &&
(GetSystemMetrics(SM_CYVIRTUALSCREEN) >= GetSystemMetrics(SM_CYSCREEN)) )
{
fInitDone = TRUE;