From 0baa2fe8c2c2c6a2620e6c4e01e0d71ab26cf663 Mon Sep 17 00:00:00 2001
From: jak1 <jak1@themanaworld.org>
Date: Fri, 16 Dec 2022 18:33:06 +0100
Subject: fixed formating (linter)

---
 src/gui/windows/worldselectdialog.cpp | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/gui/windows/worldselectdialog.cpp b/src/gui/windows/worldselectdialog.cpp
index f99467b5d..36cd57e07 100644
--- a/src/gui/windows/worldselectdialog.cpp
+++ b/src/gui/windows/worldselectdialog.cpp
@@ -134,17 +134,18 @@ void WorldSelectDialog::keyPressed(KeyEvent &event)
         action(ActionEvent(nullptr, mChooseWorld->getActionEventId()));
     }
 
-    if (actionId == InputAction::GUI_UP) {
+    if (actionId == InputAction::GUI_UP)
+    {
         event.consume();
-        
-        if (mWorldList->getSelected() > 0) {
+        if (mWorldList->getSelected() > 0)
+        {
             mWorldList->setSelected(mWorldList->getSelected() - 1);
         }
     }
 
-    if (actionId == InputAction::GUI_DOWN) {
+    if (actionId == InputAction::GUI_DOWN)
+    {
         event.consume();
-
         mWorldList->setSelected(mWorldList->getSelected() + 1);
     }
 }
-- 
cgit v1.2.3-70-g09d2