diff options
author | Dart Raiden <wowemuh@gmail.com> | 2015-12-29 11:15:58 +0000 |
---|---|---|
committer | Dart Raiden <wowemuh@gmail.com> | 2015-12-29 11:15:58 +0000 |
commit | eddc9491158ece172f260a1fb07a4c92dd8057ed (patch) | |
tree | eb8262b07a8d883e6cb57138ecfe6049e2ef476d /plugins/AutoShutdown/src | |
parent | cc18d9391b12c7746083de3e93f6348d866efec7 (diff) |
AutoShutdown: addition to commit [15950]
git-svn-id: http://svn.miranda-ng.org/main/trunk@15962 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AutoShutdown/src')
-rw-r--r-- | plugins/AutoShutdown/src/frame.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/AutoShutdown/src/frame.cpp b/plugins/AutoShutdown/src/frame.cpp index 03f44d6254..7477c0c990 100644 --- a/plugins/AutoShutdown/src/frame.cpp +++ b/plugins/AutoShutdown/src/frame.cpp @@ -223,9 +223,9 @@ static LRESULT CALLBACK FrameWndProc(HWND hwndFrame, UINT msg, WPARAM wParam, LP case M_REFRESH_COLORS:
COLORREF clrBar;
- if (FontService_GetColor(_T("Automatic Shutdown"), _T("Progress Bar"), &clrBar))
+ if (FontService_GetColor(_T("Automatic shutdown"), _T("Progress bar"), &clrBar))
clrBar = GetDefaultColor(FRAMEELEMENT_BAR);
- if (FontService_GetColor(_T("Automatic Shutdown"), _T("Background"), &dat->clrBackground))
+ if (FontService_GetColor(_T("Automatic shutdown"), _T("Background"), &dat->clrBackground))
dat->clrBackground = GetDefaultColor(FRAMEELEMENT_BKGRND);
if (dat->hbrBackground != NULL) DeleteObject(dat->hbrBackground);
dat->hbrBackground = CreateSolidBrush(dat->clrBackground);
@@ -240,7 +240,7 @@ static LRESULT CALLBACK FrameWndProc(HWND hwndFrame, UINT msg, WPARAM wParam, LP case M_REFRESH_FONTS:
{
LOGFONT lf;
- if (!FontService_GetFont(_T("Automatic Shutdown"), _T("Countdown on Frame"), &dat->clrText, &lf)) {
+ if (!FontService_GetFont(_T("Automatic shutdown"), _T("Countdown on frame"), &dat->clrText, &lf)) {
if (dat->hFont != NULL) DeleteObject(dat->hFont);
dat->hFont = CreateFontIndirect(&lf);
}
|