Skip to content

Commit

Permalink
Fix starting with Initials
Browse files Browse the repository at this point in the history
  • Loading branch information
Tudi20 committed Jun 30, 2019
1 parent cfd090c commit 7f6b327
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Universal THCRAP Launcher/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -725,9 +725,9 @@ public void PopulateGames() {
if (name != null) {
Regex initials = new Regex(@"(\b[a-zA-Z])[a-zA-Z]* ?");
name = initials.Replace(name.Split('-')[1], "$1");
name = name.Replace("~", " ~");
name = name.Replace("~", " ~").Trim();
} else
name = item.Key;
name = item.Key.Trim();
gameListBox.Items.Add(name ?? throw new InvalidOperationException());
_displayNameToThxxDictionary.Add(name, item.Key);
if (Favourites1.Games.Contains(item.Key))
Expand Down
2 changes: 1 addition & 1 deletion Universal THCRAP Launcher/Resources/BuildDate.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2019. 06. 19. 18:23:59,62
2019. 07. 01. 0:34:38,16
Central Europe Standard Time

0 comments on commit 7f6b327

Please sign in to comment.