From a705e2823e985bda2c82c7eae0347b4b158b2661 Mon Sep 17 00:00:00 2001 From: /dev/root Date: Sat, 4 Feb 2017 20:45:27 +0100 Subject: [PATCH] [News] Fixed typo [ci skip] --- src/Components/Modules/News.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Components/Modules/News.cpp b/src/Components/Modules/News.cpp index e6f75f50..b4da58fd 100644 --- a/src/Components/Modules/News.cpp +++ b/src/Components/Modules/News.cpp @@ -1,6 +1,6 @@ #include "STDInclude.hpp" -#define NEWS_MOTD_DEFUALT "Welcome to IW4x Multiplayer!" +#define NEWS_MOTD_DEFAULT "Welcome to IW4x Multiplayer!" namespace Components { @@ -26,7 +26,7 @@ namespace Components Logger::Print("Successfully fetched changelog.\n"); } - if (!strcmp(Localization::Get("MPUI_MOTD_TEXT"), NEWS_MOTD_DEFUALT)) + if (!strcmp(Localization::Get("MPUI_MOTD_TEXT"), NEWS_MOTD_DEFAULT)) { Logger::Print("Failed to fetch motd!\n"); result = false; @@ -122,7 +122,7 @@ namespace Components }); Localization::Set("MPUI_CHANGELOG_TEXT", "Loading..."); - Localization::Set("MPUI_MOTD_TEXT", NEWS_MOTD_DEFUALT); + Localization::Set("MPUI_MOTD_TEXT", NEWS_MOTD_DEFAULT); if (Utils::IO::FileExists("updater.exe")) {