summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-03-27 19:56:23 +0000
committersr55 <[email protected]>2013-03-27 19:56:23 +0000
commit35a04667a062373693c91da1e3508beb40e51893 (patch)
tree89a1ec83d688842de51873de08ed7849e40e9acc /win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs
parent7878c007881adaad45ea82a9d67ad0c3a4a4fe9e (diff)
WinGui: Couple bug fixes and tweaks.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5366 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs b/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs
index 172fe7291..a442dc5ce 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs
@@ -215,7 +215,7 @@ namespace HandBrake.ApplicationServices.Services
/// </returns>
public bool CheckForDestinationPathDuplicates(string destination)
{
- return this.queue.Any(checkItem => checkItem.Task.Destination.Contains(destination.Replace("\\\\", "\\")));
+ return this.queue.Any(job => job.Task != null && job.Task.Destination.Contains(destination.Replace("\\\\", "\\")));
}
/// <summary>