diff options
Diffstat (limited to 'src/list.h')
-rw-r--r-- | src/list.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -171,6 +171,8 @@ namespace Bu | |||
171 | pPrev->pNext = pTmp; | 171 | pPrev->pNext = pTmp; |
172 | if( pTmp != NULL ) | 172 | if( pTmp != NULL ) |
173 | pTmp->pPrev = pPrev; | 173 | pTmp->pPrev = pPrev; |
174 | else | ||
175 | pLast = pPrev; | ||
174 | nSize--; | 176 | nSize--; |
175 | } | 177 | } |
176 | } | 178 | } |