diff options
author | George Hazan <george.hazan@gmail.com> | 2012-08-06 14:16:19 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-08-06 14:16:19 +0000 |
commit | 942f84fef5dfcdb095e950c30275d6b81db8e8f6 (patch) | |
tree | 3f1984131a32cf0947099d34b8e222ea9af07431 /plugins/YAPP/src/yapp.cpp | |
parent | ed629adafe5d1bb4fc976412dc7767d16d641792 (diff) |
fix for the time format in YAPP
git-svn-id: http://svn.miranda-ng.org/main/trunk@1381 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP/src/yapp.cpp')
-rw-r--r-- | plugins/YAPP/src/yapp.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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);
|