projects
/
ses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3433d58
)
ses_layout_function()
author
yu.dongliang
<18588496441@163.com>
Sat, 4 Nov 2023 03:17:36 +0000
(11:17 +0800)
committer
yu.dongliang
<18588496441@163.com>
Sat, 4 Nov 2023 03:17:36 +0000
(11:17 +0800)
ses_layout.c
patch
|
blob
|
blame
|
history
diff --git
a/ses_layout.c
b/ses_layout.c
index 180d91edf29b68528667712cfd8452fc48cfc37f..0969759b10418b32e5d7c009619f510817f7c92d 100644
(file)
--- a/
ses_layout.c
+++ b/
ses_layout.c
@@
-340,7
+340,6
@@
int ses_lines_same_components(ScfEfunction* f)
ec = NULL;
}
- qsort(f->elines, f->n_elines, sizeof(ScfEline*), eline_cmp);
return 0;
}
@@
-1306,6
+1305,8
@@
int ses_layout_function(ScfEfunction* f, int d)
f->w = 0;
f->h = 0;
+ qsort(f->elines, f->n_elines, sizeof(ScfEline*), eline_cmp);
+
int ret = __ses_layout_lines(f, d);
if (ret < 0)
return ret;