aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-05-29 14:26:18 +0200
committerSebastian Geerken <devnull@localhost>2013-05-29 14:26:18 +0200
commite2ee1a5c85aedf85a2dbfa1eea046d4e34847bf9 (patch)
tree033042fbaf9d0e243a3ba4691e889465522f8563
parent12e396c3f0d738a914bc406c3a1bb49b01361153 (diff)
Debugging messages (again) ...
-rw-r--r--dw/outofflowmgr.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/outofflowmgr.cc b/dw/outofflowmgr.cc
index 7d92d957..e85c630e 100644
--- a/dw/outofflowmgr.cc
+++ b/dw/outofflowmgr.cc
@@ -159,20 +159,20 @@ int OutOfFlowMgr::Float::CompareGBAndExtIndex::compare(Object *o1, Object *o2)
for (TBInfo *t = t1; t != NULL; t = t->parent)
if (t->parent == t2) {
- return t->parentExtIndex - f2->externalIndex;
//printf (" (b) %p is an achestor of %p; direct child is %p (%d)"
// " => %d - %d = %d\n", t2->textblock, t1->textblock,
// t->textblock, t->parentExtIndex, t->parentExtIndex,
// f2->externalIndex, t->parentExtIndex - f2->externalIndex);
+ return t->parentExtIndex - f2->externalIndex;
}
for (TBInfo *t = t2; t != NULL; t = t->parent)
if (t->parent == t1) {
- return f1->externalIndex - t->parentExtIndex;
//printf (" (c) %p is an achestor of %p; direct child is %p (%d)"
// " => %d - %d = %d\n", t1->textblock, t2->textblock,
// t->textblock, t->parentExtIndex, f1->externalIndex,
// t->parentExtIndex, f1->externalIndex - t->parentExtIndex);
+ return f1->externalIndex - t->parentExtIndex;
}
//printf (" (d) other => %d - %d = %d\n",