mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Potential fix for libraryfolders.vdf change
This (hopefully) should fix #38. Big thanks to @DragRedSim for their help. This will attempt to use the new library file liocation if it's available, and will fall back to the older config.vdf discovery mechanism if it doesn't find the new file.
This commit is contained in:
@ -586,7 +586,7 @@ namespace DisplayMagicianShared
|
||||
// ProfileDisplayIdentifiers may be the same but in different order within the array, so we need to handle
|
||||
// that fact.
|
||||
int ourMatchedIds = 0;
|
||||
List<string> otherDisplayIdentifiers =((ProfileItem)obj).ProfileDisplayIdentifiers;
|
||||
List<string> otherDisplayIdentifiers =(obj as ProfileItem).ProfileDisplayIdentifiers;
|
||||
foreach (string ourDisplayIdentifier in ProfileDisplayIdentifiers)
|
||||
{
|
||||
if (otherDisplayIdentifiers.Contains(ourDisplayIdentifier)){
|
||||
|
Reference in New Issue
Block a user