From d045f59a1176f03c6e7254efe6dd2b444666a62b Mon Sep 17 00:00:00 2001 From: FeniksFire Date: Sat, 18 Mar 2017 07:58:40 +0100 Subject: [PATCH] Little fix in braces #2. --- client/widgets/CGarrisonInt.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/widgets/CGarrisonInt.cpp b/client/widgets/CGarrisonInt.cpp index e62a577f3..d90594714 100644 --- a/client/widgets/CGarrisonInt.cpp +++ b/client/widgets/CGarrisonInt.cpp @@ -514,11 +514,13 @@ void CGarrisonInt::setSplittingMode(bool on) if (inSplittingMode || on) { - for(CGarrisonSlot * slot : slotsUp){ + for(CGarrisonSlot * slot : slotsUp) + { if(slot!=getSelection()) slot->setHighlight( ( on && (slot->our() || slot->ally()) && (slot->creature == nullptr || slot->creature == getSelection()->creature))); } - for(CGarrisonSlot * slot : slotsDown){ + for(CGarrisonSlot * slot : slotsDown) + { if(slot!=getSelection()) slot->setHighlight( ( on && (slot->our() || slot->ally()) && (slot->creature == nullptr || slot->creature == getSelection()->creature))); }