Fix URIUtils::IsDVD function logic #83

Closed
wants to merge 2 commits into
from

1 participant

@HarryMuscle

The logic in the URIUtils::IsDVD function is slightly off, so I've put together this pull request to fix it.

The original logic in that function checked to see if the file name was NOT "X:" or "X:\" (where X could be any letter) and return false if it's not. However, this prevents any of the other checks later in the function from ever being reached. The correct logic should be to check if the file name IS "X:" or "X:\" and if it is return true, otherwise continue running the rest of the function.

Thanks,
Harry

@HarryMuscle

I noticed JMarshall fixed this a day or two ago, so I'll close this pull request.

Thanks,
Harry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment