Skip to content

Commit

Permalink
Fixed Avatars Online Number
Browse files Browse the repository at this point in the history
Fixed the Avatars Online number in the window's status strip.
  • Loading branch information
Deantwo committed Sep 13, 2020
1 parent f6cae2e commit 90043bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ private void RefreshOnlineAvatars()
}
else if (httpLine.EndsWith(" avatars are currently online.</span><br><br>"))
{
const string AVATARS_START = "<div style=\"text-align: center; font-family: sans-serif;\"><big style=\"color: #ffffff; font-weight: bold;\">Avatars Online</big></div><br><span style=\"font-family: sans-serif;\">";
const string AVATARS_START = "<br><div style=\"text-align: center; font-family: sans-serif;\"><big style=\"color: #ffffff; font-weight: bold;\">Avatars Online</big></div><br><span style=\"font-family: sans-serif;\">";
const string AVATARS_END = " avatars are currently online.</span><br><br>";
string numberAvatars = httpLine.Remove(httpLine.Length - AVATARS_END.Length).Substring(AVATARS_START.Length);
// If no avatars are online, the site might not say a number at all. "No avatars online"
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.1.0")]
[assembly: AssemblyFileVersion("1.5.1.0")]
[assembly: AssemblyVersion("1.5.2.0")]
[assembly: AssemblyFileVersion("1.5.2.0")]

0 comments on commit 90043bd

Please sign in to comment.