Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
crazybbs authored Aug 9, 2016
1 parent 8a5b956 commit 3cf9363
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GameBrowser/Api/ServerApiEndpoints.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public object Get(GetDosGames request)
_logger.Debug("GetDosGames request received");

var dosGames = _libraryManager.RootFolder.RecursiveChildren
.Where(i => i is Game && !string.IsNullOrEmpty(((Game)i).GameSystem) && ((Game)i).GameSystem.Equals("dos"))
.Where(i => i is Game && !string.IsNullOrEmpty(((Game)i).GameSystem) && ((Game)i).GameSystem.Equals("DOS"))
.OrderBy(i => i.SortName)
.ToList();

Expand All @@ -96,7 +96,7 @@ public object Get(GetWindowsGames request)
_logger.Debug("GetWindowsGames request received");

var windowsGames = _libraryManager.RootFolder.RecursiveChildren
.Where(i => i is Game && !string.IsNullOrEmpty(((Game)i).GameSystem) && ((Game)i).GameSystem.Equals("windows"))
.Where(i => i is Game && !string.IsNullOrEmpty(((Game)i).GameSystem) && ((Game)i).GameSystem.Equals("Windows"))
.OrderBy(i => i.SortName)
.ToList();

Expand Down

0 comments on commit 3cf9363

Please sign in to comment.