summaryrefslogtreecommitdiffstats
path: root/src/removeoverlap/generate-constraints.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2006-02-06 05:38:08 +0000
committergouldtj <gouldtj@users.sourceforge.net>2006-02-06 05:38:08 +0000
commit1d97567299259f4ceaea8ff51de359dc74b49578 (patch)
tree5d4da9bec137ed8edc1e1e25faa068645a3c67a5 /src/removeoverlap/generate-constraints.cpp
parentDBL_MIN replaced by -DBL_MAX which is what I meant all along. (diff)
downloadinkscape-1d97567299259f4ceaea8ff51de359dc74b49578.tar.gz
inkscape-1d97567299259f4ceaea8ff51de359dc74b49578.zip
(bzr r90)
Diffstat (limited to 'src/removeoverlap/generate-constraints.cpp')
-rw-r--r--src/removeoverlap/generate-constraints.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/removeoverlap/generate-constraints.cpp b/src/removeoverlap/generate-constraints.cpp
index a8bfe28e7..efa477449 100644
--- a/src/removeoverlap/generate-constraints.cpp
+++ b/src/removeoverlap/generate-constraints.cpp
@@ -140,7 +140,7 @@ Event **events;
int compare_events(const void *a, const void *b) {
Event *ea=*(Event**)a;
Event *eb=*(Event**)b;
- if(ea->v->r==eb->v->r) {
+ if(ea->v->r==ea->v->r) {
// when comparing opening and closing from the same rect
// open must come first
if(ea->type==Open) return -1;