HaikuDepot: List.h: Coding style fix

This commit is contained in:
Stephan Aßmus
2013-09-06 10:10:39 +02:00
parent 00861147be
commit e75fda0202
+2 -1
View File
@@ -159,9 +159,10 @@ public:
} }
int32 nextIndex = index + 1; int32 nextIndex = index + 1;
if ((int32)fCount > nextIndex) if ((int32)fCount > nextIndex) {
memcpy(fItems + index, fItems + nextIndex, memcpy(fItems + index, fItems + nextIndex,
(fCount - nextIndex) * sizeof(ItemType)); (fCount - nextIndex) * sizeof(ItemType));
}
fCount--; fCount--;
} }