diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-26 08:06:35 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-26 08:06:35 +0000 |
commit | d3540ad7bf4de7d1bae2569db357ad91656feb76 (patch) | |
tree | cc56d3cd37825db9fdecec884457b5069d2a075c /plugins/TabSRMM/src/tabctrl.cpp | |
parent | 13f917ea44a40282e9dd55777cdb0a5bd46e06f4 (diff) |
- fix for mishmash in "Add contact" button's tooltip
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@1661 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/tabctrl.cpp')
-rw-r--r-- | plugins/TabSRMM/src/tabctrl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/tabctrl.cpp b/plugins/TabSRMM/src/tabctrl.cpp index ecc6213d4a..44aaaa4f83 100644 --- a/plugins/TabSRMM/src/tabctrl.cpp +++ b/plugins/TabSRMM/src/tabctrl.cpp @@ -138,7 +138,7 @@ static UINT FindLeftDownItem(HWND hwnd) UINT nItem = 0;
int i;
- for (i = 0;i < nCount;i++) {
+ for (i=0;i < nCount;i++) {
TabCtrl_GetItemRect(hwnd, i, &rctCur);
if (rctCur.left > 0 && rctCur.left <= rctLeft.left) {
if (rctCur.bottom > rctLeft.bottom) {
@@ -1270,7 +1270,7 @@ page_done: ScreenToClient(hwnd, &hti.pt);
hti.flags = 0;
hotItem = TabCtrl_HitTest(hwnd, &hti);
- for (i = 0; i < nCount; i++) {
+ for (i=0; i < nCount; i++) {
TWindowData* dat = 0;
if (i != iActive) {
|