mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-15 20:48:00 +01:00
fix bug deleting dllist elem
This commit is contained in:
parent
ba6a617e71
commit
b163441bb6
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ dll_map( DLHead* list, DLMapProc mapProc, DLDisposeProc dispProc,
|
|||
ForEachAct fea = (*mapProc)( list, closure );
|
||||
if ( 0 != (FEA_REMOVE & fea) ) {
|
||||
DLHead* victim = list;
|
||||
next = victim->_prev;
|
||||
next = victim->_next;
|
||||
|
||||
if ( victim == newHead ) {
|
||||
newHead = next;
|
||||
|
|
Loading…
Add table
Reference in a new issue