projects
/
GitHub
/
LineageOS
/
G12
/
android_hardware_amlogic_tools_dtbtool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aadb057
)
Fix bug in original insertion sort code.
author
Wilhansen Li
<wil@byimplication.com>
Fri, 30 Dec 2016 04:25:34 +0000
(12:25 +0800)
committer
Wilhansen Li
<wil@byimplication.com>
Fri, 30 Dec 2016 04:25:34 +0000
(12:25 +0800)
dtbTool.c
patch
|
blob
|
blame
|
history
diff --git
a/dtbTool.c
b/dtbTool.c
index 680019b244593d9f8d6cd3db3b5da759fb9f839e..385a03e1a1def8aaa2134a333c4ff44c7302a5ad 100644
(file)
--- a/
dtbTool.c
+++ b/
dtbTool.c
@@
-204,6
+204,7
@@
int chip_add(struct chipInfo_t *c)
} else {
c->next = x;
c->prev = x->prev;
+ x->prev->next = c;
x->prev = c;
break;
}