Fix some issues with merging caused by incorrect boolean expressions

This commit is contained in:
Matt Nadareski
2016-03-24 20:56:04 -07:00
parent 817262e113
commit eec433aad9
2 changed files with 3 additions and 3 deletions

View File

@@ -250,8 +250,8 @@ namespace DATabase
List<RomData> roms = new List<RomData>();
// Check if we have listed sources or systems
bool sysmerged = (_systems != "" && _systems.Split(',').Length > 1);
bool srcmerged = (_sources != "" && _sources.Split(',').Length > 1);
bool sysmerged = (_systems == "" || _systems.Split(',').Length > 1);
bool srcmerged = (_sources == "" || _sources.Split(',').Length > 1);
bool merged = sysmerged || srcmerged;
string query = @"