Mercurial > LightClone
diff LightClone/Source/ArrayList.h @ 15:ee1c2510096d
Work on GUI system
author | koryspansel <koryspansel@bendbroadband.com> |
---|---|
date | Wed, 14 Sep 2011 11:04:18 -0700 |
parents | c046b9e8ae32 |
children | 51718795f019 |
line wrap: on
line diff
--- a/LightClone/Source/ArrayList.h Tue Sep 13 23:01:45 2011 -0700 +++ b/LightClone/Source/ArrayList.h Wed Sep 14 11:04:18 2011 -0700 @@ -68,14 +68,14 @@ if(nIndex < nSize) { - --nCount; + --nSize; - for(uint32 i = nIndex; i < nCount; ++i) + for(uint32 i = nIndex; i < nSize; ++i) { pList[i] = pList[i + 1]; } - eCode = Error_Success + eCode = Error_Success; } return eCode;