[Changelog] Removed trim
This commit is contained in:
parent
f042aa2d4f
commit
9f52029121
@ -16,6 +16,7 @@ This is the third public Beta version.
|
||||
### Changed
|
||||
|
||||
- Added join on enter in serverlist (request)
|
||||
- Redesigned changelog menu
|
||||
|
||||
### Fixed
|
||||
|
||||
|
@ -17,7 +17,7 @@ namespace Components
|
||||
|
||||
if (uncleaned.empty())
|
||||
{
|
||||
uncleaned = "\n\n^1Unable to get changelog.";
|
||||
uncleaned = "^1Unable to get changelog.";
|
||||
}
|
||||
|
||||
changelog = Utils::String::Explode(uncleaned, '\n');
|
||||
@ -28,13 +28,10 @@ namespace Components
|
||||
Changelog::changelogLine info;
|
||||
|
||||
Utils::String::Replace(line, "\r", "");
|
||||
info.line = Utils::String::Trim(line);
|
||||
info.line = line;
|
||||
|
||||
Changelog::Line.push_back(info);
|
||||
}
|
||||
|
||||
// Reverse, latest demo first!
|
||||
//std::reverse(Changelog::Line.begin(), Changelog::Line.end());
|
||||
}
|
||||
|
||||
unsigned int Changelog::GetChangelogCount()
|
||||
|
@ -175,6 +175,8 @@ namespace Components
|
||||
News::Terminate = false;
|
||||
News::Thread = std::thread([]()
|
||||
{
|
||||
//Changelog::LoadChangelog(UIScript::Token);
|
||||
|
||||
std::string data = Utils::Cache::GetFile("/iw4/motd.txt");
|
||||
|
||||
if (!data.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user