projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
share/collection.conf: Adapt the "df_complex" config for the new drawing code.
[collection4.git]
/
src
/
utils_array.c
diff --git
a/src/utils_array.c
b/src/utils_array.c
index
93e3568
..
0cc0bd7
100644
(file)
--- a/
src/utils_array.c
+++ b/
src/utils_array.c
@@
-104,7
+104,7
@@
int array_prepend (str_array_t *a, const char *entry) /* {{{ */
}
a->ptr = ptr;
- memmove (a->ptr
, a->ptr + 1
, sizeof (*a->ptr) * a->size);
+ memmove (a->ptr
+ 1, a->ptr
, sizeof (*a->ptr) * a->size);
a->ptr[0] = cpy;
a->size++;