From 942f84fef5dfcdb095e950c30275d6b81db8e8f6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 6 Aug 2012 14:16:19 +0000 Subject: fix for the time format in YAPP git-svn-id: http://svn.miranda-ng.org/main/trunk@1381 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/YAPP/src/yapp.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/YAPP/src/yapp.cpp') diff --git a/plugins/YAPP/src/yapp.cpp b/plugins/YAPP/src/yapp.cpp index 616f9b70de..4f9c289d12 100644 --- a/plugins/YAPP/src/yapp.cpp +++ b/plugins/YAPP/src/yapp.cpp @@ -59,13 +59,13 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_POPUPS, int ReloadFont(WPARAM wParam, LPARAM lParam) { LOGFONTW log_font; - if(hFontFirstLine) DeleteObject(hFontFirstLine); + if (hFontFirstLine) DeleteObject(hFontFirstLine); colFirstLine = CallService(MS_FONT_GETW, (WPARAM)&font_id_firstlinew, (LPARAM)&log_font); hFontFirstLine = CreateFontIndirectW(&log_font); - if(hFontSecondLine) DeleteObject(hFontSecondLine); + if (hFontSecondLine) DeleteObject(hFontSecondLine); colSecondLine = CallService(MS_FONT_GETW, (WPARAM)&font_id_secondlinew, (LPARAM)&log_font); hFontSecondLine = CreateFontIndirectW(&log_font); - if(hFontTime) DeleteObject(hFontTime); + if (hFontTime) DeleteObject(hFontTime); colTime = CallService(MS_FONT_GETW, (WPARAM)&font_id_timew, (LPARAM)&log_font); hFontTime = CreateFontIndirectW(&log_font); @@ -163,7 +163,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) LoadModuleDependentOptions(); - if(GetModuleHandle(_T("neweventnotify"))) + if (GetModuleHandle(_T("neweventnotify"))) ignore_gpd_passed_addy = true; return 0; @@ -208,7 +208,7 @@ extern "C" int YAPP_API Load(void) { extern "C" int YAPP_API Unload() { - if(hEventReloadFont) + if (hEventReloadFont) UnhookEvent(hEventReloadFont); UnhookEvent(hEventPreShutdown); UnhookEvent(hEventModulesLoaded); -- cgit v1.2.3