From 2b3d26910bb6431576f8a22653f83c68389e7efb Mon Sep 17 00:00:00 2001 From: yell0wsuit <5692900+yell0wsuit@users.noreply.github.com> Date: Thu, 18 Apr 2024 20:54:50 +0700 Subject: [PATCH] Fix whitespace --- src/Ryujinx/UI/Windows/ChangelogWindow.axaml.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Ryujinx/UI/Windows/ChangelogWindow.axaml.cs b/src/Ryujinx/UI/Windows/ChangelogWindow.axaml.cs index a42ec40ed..4b6dbbc5d 100644 --- a/src/Ryujinx/UI/Windows/ChangelogWindow.axaml.cs +++ b/src/Ryujinx/UI/Windows/ChangelogWindow.axaml.cs @@ -11,10 +11,10 @@ using Ryujinx.Ava.UI.ViewModels; using Ryujinx.UI.Common.Helper; using System; using System.Diagnostics; +using System.Net.Http; using System.Text; using System.Threading.Tasks; using Button = Avalonia.Controls.Button; -using System.Net.Http; namespace Ryujinx.Ava.UI.Windows @@ -76,7 +76,9 @@ namespace Ryujinx.Ava.UI.Windows foreach (var header in headers) { - if (versionsFound >= count) break; // Stop after finding the desired number of versions + if (versionsFound >= count) + break; // Stop after finding the desired number of versions + content.Append(header.OuterHtml); var currentNode = header.ParentNode.NextSibling; @@ -85,7 +87,8 @@ namespace Ryujinx.Ava.UI.Windows if (currentNode.Name == "div" && currentNode.SelectSingleNode("h2") != null) { versionsFound++; // Increment for each version header found - if (versionsFound >= count) break; + if (versionsFound >= count) + break; } content.Append(currentNode.OuterHtml); currentNode = currentNode.NextSibling;