From fe076d92eca402b27979bacf4062563e759e7279 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sat, 29 Nov 2014 15:30:09 +0000 Subject: -Fixed a bug in Ping and other small things reported in #837 git-svn-id: http://svn.miranda-ng.org/main/trunk@11151 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/skin/hotkey_opts.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/modules/skin/hotkey_opts.cpp b/src/modules/skin/hotkey_opts.cpp index bcbbac7ac1..bd450805b8 100644 --- a/src/modules/skin/hotkey_opts.cpp +++ b/src/modules/skin/hotkey_opts.cpp @@ -558,16 +558,15 @@ static INT_PTR CALLBACK sttOptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, rc.left += 5; HIMAGELIST hIml = ListView_GetImageList(hwndHotkey, LVSIL_SMALL); - if (lpdis->CtlID == IDC_CANVAS2) { sttOptionsDrawTextChunk(lpdis->hDC, TranslateT("Scope:"), &rc); - rc.left = prefix + width * 0; + rc.left = prefix; ImageList_Draw(hIml, 0, lpdis->hDC, rc.left, (rc.top+rc.bottom-16)/2, ILD_TRANSPARENT); rc.left += 20; sttOptionsDrawTextChunk(lpdis->hDC, TranslateT("System"), &rc); - rc.left = prefix + width * 1; + rc.left = prefix + width; ImageList_Draw(hIml, 1, lpdis->hDC, rc.left, (rc.top+rc.bottom-16)/2, ILD_TRANSPARENT); rc.left += 20; sttOptionsDrawTextChunk(lpdis->hDC, TranslateT("Miranda"), &rc); -- cgit v1.2.3