diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-05-21 16:59:14 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-05-21 16:59:14 +0000 |
commit | 5de1bb4db7c5ab4d91b111f00df37b3ce1a8a9ef (patch) | |
tree | 5ad254459e360cbef98119ebd34b1028021e6552 /plugins/Popup | |
parent | 6b6e144b140f8f3ce2fa6b1de7e6a13d92030caf (diff) |
minor translation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@4781 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup')
-rw-r--r-- | plugins/Popup/src/opt_skins.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/plugins/Popup/src/opt_skins.cpp b/plugins/Popup/src/opt_skins.cpp index 2ed9f6aef1..fc83e8d42b 100644 --- a/plugins/Popup/src/opt_skins.cpp +++ b/plugins/Popup/src/opt_skins.cpp @@ -94,9 +94,6 @@ static void updatePreviewImage(HWND hwndBox) static void DrawPreview(HWND hwnd, HDC hdc)
{
- RECT rc;
- HBRUSH hbr;
-
BITMAPINFO bi;
bi.bmiHeader.biSize = sizeof(bi.bmiHeader);
bi.bmiHeader.biWidth = 8;
@@ -104,10 +101,12 @@ static void DrawPreview(HWND hwnd, HDC hdc) bi.bmiHeader.biPlanes = 1;
bi.bmiHeader.biBitCount = 32;
bi.bmiHeader.biCompression = BI_RGB;
- HBITMAP hBmpBrush = (HBITMAP)CreateDIBSection(0, &bi, DIB_RGB_COLORS, 0, 0, 0);
+ HBITMAP hBmpBrush = CreateDIBSection(0, &bi, DIB_RGB_COLORS, 0, 0, 0);
HDC dcBmp = CreateCompatibleDC(0);
HBITMAP hBmpSave = (HBITMAP)SelectObject(dcBmp, hBmpBrush);
- hbr = CreateSolidBrush(RGB(0xcc, 0xcc, 0xcc));
+ HBRUSH hbr = CreateSolidBrush(RGB(0xcc, 0xcc, 0xcc));
+
+ RECT rc;
SetRect(&rc, 0, 0, 8, 8);
FillRect(dcBmp, &rc, hbr);
DeleteObject(hbr);
@@ -205,7 +204,7 @@ int SkinOptionList_AddMain(OPTTREE_OPTION* &options, int *OptionsCount, int pos LPTSTR mainOption [] = {
LPGENT("Show clock"),
LPGENT("Drop shadow effect"),
- LPGENT("Drop shadow effect/non rectangular"),
+ LPGENT("Drop shadow effect")_T("/")LPGENT("non rectangular"),
LPGENT("Enable Aero Glass (Vista+)"),
LPGENT("Use Windows colours"),
LPGENT("Use advanced text render")};
@@ -270,10 +269,9 @@ bool SkinOptionList_Update (OPTTREE_OPTION* &options, int *OptionsCount, HWND hw options = NULL;
*OptionsCount = 0;
}
- int pos = 0;
//add "Global options"
DWORD dwGlobalOptions = 0;
- pos = SkinOptionList_AddMain(options, OptionsCount, pos, &dwGlobalOptions);
+ int pos = SkinOptionList_AddMain(options, OptionsCount, pos, &dwGlobalOptions);
//add "Skin options"
DWORD dwSkinOptions = 0;
pos = SkinOptionList_AddSkin(options, OptionsCount, pos, &dwSkinOptions);
|