diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-16 14:51:46 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-16 14:51:46 +0000 |
commit | 8617d7e00546f892c9084f7c382648b23d8bbb63 (patch) | |
tree | 2be51254236644b678418c1147f223a30e030bda /plugins/YAPP/popups2.cpp | |
parent | 05c989e58aeffcfb59cebaca6797cb69dd25cb1e (diff) |
another portion of "#ifdef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@447 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP/popups2.cpp')
-rw-r--r-- | plugins/YAPP/popups2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/YAPP/popups2.cpp b/plugins/YAPP/popups2.cpp index 9ebee50070..c90196336f 100644 --- a/plugins/YAPP/popups2.cpp +++ b/plugins/YAPP/popups2.cpp @@ -69,7 +69,7 @@ extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) int ReloadFont(WPARAM wParam, LPARAM lParam)
{
-#ifdef _UNICODE
+
if(ServiceExists(MS_FONT_GETW)) {
LOGFONTW log_font;
if(hFontFirstLine) DeleteObject(hFontFirstLine);
@@ -87,7 +87,7 @@ int ReloadFont(WPARAM wParam, LPARAM lParam) colSidebar = CallService(MS_COLOUR_GETW, (WPARAM)&colour_id_sidebarw, 0);
colTitleUnderline = CallService(MS_COLOUR_GETW, (WPARAM)&colour_id_titleunderlinew, 0);
} else
-#endif
+
{
LOGFONTA log_font;
if(hFontFirstLine) DeleteObject(hFontFirstLine);
@@ -148,7 +148,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) { CallService(MS_UPDATE_REGISTER, 0, (WPARAM)&update);
}
-#ifdef _UNICODE
+
if(ServiceExists(MS_FONT_REGISTERW))
{
font_id_firstlinew.cbSize = sizeof(FontIDW);
@@ -221,7 +221,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) { hEventReloadFont = HookEvent(ME_FONT_RELOAD, ReloadFont);
}
else
-#endif
+
if(ServiceExists(MS_FONT_REGISTER))
{
font_id_firstline.cbSize = sizeof(FontID);
|