projects
/
cgds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some fixes + improvements (Vector) + code reformatting
[cgds.git]
/
src
/
List.c
diff --git
a/src/List.c
b/src/List.c
index
b78af26
..
35e5739
100644
(file)
--- a/
src/List.c
+++ b/
src/List.c
@@
-190,12
+190,12
@@
void listI_remove(ListIterator* listI, Direction direction)
ListCell* toTrash = listI->current;
switch (direction)
{
ListCell* toTrash = listI->current;
switch (direction)
{
- case FORWARD:
- listI->current = listI->current->next;
- break;
- case BACKWARD:
- listI->current = listI->current->prev;
- break;
+
case FORWARD:
+
listI->current = listI->current->next;
+
break;
+
case BACKWARD:
+
listI->current = listI->current->prev;
+
break;
}
list_remove(listI->list, toTrash);
}
}
list_remove(listI->list, toTrash);
}