From 29aefb569276bdc68885aabca32203843d1436da Mon Sep 17 00:00:00 2001 From: Ion Agorria Date: Fri, 26 Apr 2024 20:59:38 +0200 Subject: [PATCH] Tweaks --- Source/Render/src/VisError.cpp | 5 +++-- Source/UserInterface/Menu/MultiplayerList.cpp | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Source/Render/src/VisError.cpp b/Source/Render/src/VisError.cpp index ab8bf4b96..651e7cab2 100644 --- a/Source/Render/src/VisError.cpp +++ b/Source/Render/src/VisError.cpp @@ -31,8 +31,9 @@ cVisError& cVisError::operator << (const char *a) ErrH.Abort(buf.c_str()); } buf.clear(); - }else - buf+=a; + } else { + buf += a; + } return *this; } diff --git a/Source/UserInterface/Menu/MultiplayerList.cpp b/Source/UserInterface/Menu/MultiplayerList.cpp index 3ed32c728..bf3d259c0 100644 --- a/Source/UserInterface/Menu/MultiplayerList.cpp +++ b/Source/UserInterface/Menu/MultiplayerList.cpp @@ -151,12 +151,13 @@ std::string formatGameInfoWindow(const GameInfo& info) { } //Show version + text += "&FFFFFF - "; if (info.gameVersion == currentShortVersion) { text += "&FFFFFF"; } else { text += "&FF2222"; } - text += " - " + info.gameVersion + "\n"; + text += info.gameVersion + "\n"; //Show map text += "&FFFFFF";