summaryrefslogtreecommitdiff
path: root/plugins/YAPP
diff options
context:
space:
mode:
authorVlad Mironov <mironych@googlemail.com>2012-07-06 08:00:07 +0000
committerVlad Mironov <mironych@googlemail.com>2012-07-06 08:00:07 +0000
commitc6cbf81f80ece182b7d14f87ff2d11a5767dfcce (patch)
tree958b6e2c62e6fd92bad8c0d941c58df924775e92 /plugins/YAPP
parent6cb52f7c6cb47112df9fc0d89c4fa829e474a561 (diff)
YAPP: отступ теперь применяется и к первой строке.
git-svn-id: http://svn.miranda-ng.org/main/trunk@785 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP')
-rw-r--r--plugins/YAPP/popwin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YAPP/popwin.cpp b/plugins/YAPP/popwin.cpp
index 585f8f34bf..50e99cdd36 100644
--- a/plugins/YAPP/popwin.cpp
+++ b/plugins/YAPP/popwin.cpp
@@ -487,7 +487,7 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa
// title text
if(hFontFirstLine) SelectObject(ps.hdc, (HGDIOBJ)hFontFirstLine);
RECT tr;
- tr.left = textxmin; tr.right = textxmax; tr.top = r.top + options.padding; tr.bottom = tr.top + pwd->tb_height;
+ tr.left = r.left + options.padding + options.text_indent; tr.right = textxmax; tr.top = r.top + options.padding; tr.bottom = tr.top + pwd->tb_height;
if(pwd->custom_col) SetTextColor(ps.hdc, pd->colorText);
else SetTextColor(ps.hdc, colFirstLine);