wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 9aa6bfde1bfaf826c107c297cb92ca66cfeaa6ce
parent d9c9ef17f3df3b26e7176d923e25b58111e0e518
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Mon,  3 Apr 2006 17:28:03 +0200

adding paranthesis


Diffstat:
libcext/vector.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcext/vector.c b/libcext/vector.c @@ -24,7 +24,7 @@ cext_vdetach(Vector *v, void *data) if (!p) return; for(end = p + v->size - 1; p <= end; p++) if (*p == data) { - memmove(p, p + 1, end - p + 1); + memmove(p, p + 1, end - (p + 1)); *end = nil; --v->size; return;