diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-03-23 20:18:56 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-03-23 20:18:56 +0000 |
commit | a447216c8e0ae1226220b9a47dc12122457969fb (patch) | |
tree | d726ef0e9449d5343b5eaf6297f1439d4d37d129 /plugins/AutoShutdown/src/frame.cpp | |
parent | 500efd6f234f5cb0d84d2396bd0eab6f70a35e10 (diff) |
-fixes for x64 version
-fixed double translations (since r3194)
-fixed background setting
git-svn-id: http://svn.miranda-ng.org/main/trunk@4169 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AutoShutdown/src/frame.cpp')
-rw-r--r-- | plugins/AutoShutdown/src/frame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AutoShutdown/src/frame.cpp b/plugins/AutoShutdown/src/frame.cpp index ad40340a57..c48c3927d1 100644 --- a/plugins/AutoShutdown/src/frame.cpp +++ b/plugins/AutoShutdown/src/frame.cpp @@ -597,9 +597,9 @@ static int FrameModulesLoaded(WPARAM wParam,LPARAM lParam) BOOL (WINAPI *pfnIsThemeActive)(VOID);
/* built-in font module is not available before this hook */
clr=GetDefaultColor(FRAMEELEMENT_TEXT);
- FontService_RegisterFont("AutoShutdown","CountdownFont",TranslateT("Automatic Shutdown"),TranslateT("Countdown on Frame"),0,FALSE,GetDefaultFont(&lf),clr);
+ FontService_RegisterFont("AutoShutdown","CountdownFont",LPGENT("Automatic Shutdown"),LPGENT("Countdown on Frame"),LPGENT("Automatic Shutdown"),LPGENT("Background"),0,FALSE,GetDefaultFont(&lf),clr);
clr=GetDefaultColor(FRAMEELEMENT_BKGRND);
- FontService_RegisterColor("AutoShutdown","BkgColor",TranslateT("Automatic Shutdown"),TranslateT("Background"),clr);
+ FontService_RegisterColor("AutoShutdown","BkgColor",LPGENT("Automatic Shutdown"),LPGENT("Background"),clr);
/* progressbar color can only be changed in windows classic theme */
/* FIXME: should be registered/unregistered on WM_THEMECHANGED/ME_OPT_INITIALISE msg,
* currently not possible as no such font service exists */
|