summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-11-29 15:30:09 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-11-29 15:30:09 +0000
commitfe076d92eca402b27979bacf4062563e759e7279 (patch)
treeacca86039c851dd4a85240c195f0e759787aecbe /src
parent425e0f8eb79c6779ebe40f75cce92194ed103389 (diff)
-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
Diffstat (limited to 'src')
-rw-r--r--src/modules/skin/hotkey_opts.cpp5
1 files changed, 2 insertions, 3 deletions
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);