summaryrefslogtreecommitdiff
path: root/src/modules/clist/clcutils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-05 20:08:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-05 20:08:43 +0000
commit35a9af527f9b7ec35e81455784cd0a795be910c5 (patch)
tree7a562aa27d45a54e143d732452bfc62ad2d242c7 /src/modules/clist/clcutils.cpp
parent81dc8462ddae0555821a6093bda8a67fe6bb504e (diff)
- removed duplicate constants;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@2211 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clcutils.cpp')
-rw-r--r--src/modules/clist/clcutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/clist/clcutils.cpp b/src/modules/clist/clcutils.cpp
index fe2685ccbc..97b0db6abb 100644
--- a/src/modules/clist/clcutils.cpp
+++ b/src/modules/clist/clcutils.cpp
@@ -562,7 +562,7 @@ int fnGetDropTargetInformation(HWND hwnd, struct ClcData *dat, POINT pt)
}
if (ok) {
ok = 0;
- if (bottomItem == -1 || bottomcontact->type != CLCIT_GROUP) { //need to special-case moving to end
+ if (bottomItem == -1 || bottomcontact->type != CLCIT_GROUP) { //need to special-case moving to end
if (topItem != dat->iDragItem) {
for (; topgroup; topgroup = topgroup->parent) {
if (topgroup == movecontact->group)
@@ -589,7 +589,7 @@ int fnGetDropTargetInformation(HWND hwnd, struct ClcData *dat, POINT pt)
}
if (contact->type == CLCIT_GROUP) {
if (dat->iInsertionMark == -1) {
- if (movecontact->type == CLCIT_GROUP) { //check not moving onto its own subgroup
+ if (movecontact->type == CLCIT_GROUP) { //check not moving onto its own subgroup
for (; group; group = group->parent)
if (group == movecontact->group)
return DROPTARGET_ONSELF;