summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-06-25 19:59:06 +0000
committersr55 <[email protected]>2010-06-25 19:59:06 +0000
commit545c09e691d2b66994e7b6428582b4cf66d5515a (patch)
treef158a38b99532ecaf13050c1fed9b051fbc2ab5d /win
parentbfaada823e0b3efca709cf709ee1aa67fd4c4c60 (diff)
WinGui:
- Added batch folder scan support to the executable on launch git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3406 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r--win/C#/frmMain.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 1a7590b54..d1d721d81 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -176,7 +176,7 @@ namespace Handbrake
queueRecovery();
// If have a file passed in via command arguemtents, check it's a file and try scanning it.
- if (args.Length >= 1 && File.Exists(args[0]))
+ if (args.Length >= 1 && (File.Exists(args[0]) || Directory.Exists(args[0])))
{
this.StartScan(args[0], 0);
}