From e75fda02029e7283338487d7c7b1575b6447a270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Fri, 6 Sep 2013 10:10:39 +0200 Subject: [PATCH] HaikuDepot: List.h: Coding style fix --- src/apps/haiku-depot/List.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/haiku-depot/List.h b/src/apps/haiku-depot/List.h index eb229aadcd..02ce67c614 100644 --- a/src/apps/haiku-depot/List.h +++ b/src/apps/haiku-depot/List.h @@ -159,9 +159,10 @@ public: } int32 nextIndex = index + 1; - if ((int32)fCount > nextIndex) + if ((int32)fCount > nextIndex) { memcpy(fItems + index, fItems + nextIndex, (fCount - nextIndex) * sizeof(ItemType)); + } fCount--; }