diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-05-02 17:04:19 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-05-02 17:04:19 +0000 |
commit | a4b8073f048a0d5847ebf1f89f48c9b201aef124 (patch) | |
tree | bd445d297d3835b457b6273281d0ad38ab43984f /src | |
parent | fdf7e508f70bbf24adeb1beba2fc5ab825217f92 (diff) | |
download | libbu++-a4b8073f048a0d5847ebf1f89f48c9b201aef124.tar.gz libbu++-a4b8073f048a0d5847ebf1f89f48c9b201aef124.tar.bz2 libbu++-a4b8073f048a0d5847ebf1f89f48c9b201aef124.tar.xz libbu++-a4b8073f048a0d5847ebf1f89f48c9b201aef124.zip |
Minor bug deleting last element of linked lists.
Diffstat (limited to '')
-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 | } |