projects
/
ses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0abe0f4
)
__ses_de_cross()
author
yu.dongliang
<18588496441@163.com>
Sat, 11 Nov 2023 07:23:26 +0000
(15:23 +0800)
committer
yu.dongliang
<18588496441@163.com>
Sat, 11 Nov 2023 07:24:38 +0000
(15:24 +0800)
ses_layout.c
patch
|
blob
|
blame
|
history
diff --git
a/ses_layout.c
b/ses_layout.c
index 43853acaf916fc51c4335525fecb8bf04fb25639..4c17f1f863e144bdfa9a39684243d5c7ee6cf966 100644
(file)
--- a/
ses_layout.c
+++ b/
ses_layout.c
@@
-1180,16
+1180,18
@@
static int __ses_de_cross(ScfEfunction* f, int d)
scf_loge("**********\n");
}
+ int n = 0;
for (i = 0; i < graph->size; i++) {
v = graph->data[i];
if (v->color < 0) {
- scf_loge("j: %ld, i: %ld, c%ld->color: %ld\n", j, i, c->id, v->color);
- break;
+ c = v->data;
+ n++;
+ scf_loge("j: %ld, c%ld->color: %ld\n", j, c->id, v->color);
}
}
- if (
i < graph->size
)
+ if (
n > 0
)
break;
for (i = 0; i < graph->size; i++) {