summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Utilities/DirectoryUtilities.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Utilities/DirectoryUtilities.cs')
-rw-r--r--win/CS/HandBrakeWPF/Utilities/DirectoryUtilities.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Utilities/DirectoryUtilities.cs b/win/CS/HandBrakeWPF/Utilities/DirectoryUtilities.cs
index 5461605d0..45450f4eb 100644
--- a/win/CS/HandBrakeWPF/Utilities/DirectoryUtilities.cs
+++ b/win/CS/HandBrakeWPF/Utilities/DirectoryUtilities.cs
@@ -38,7 +38,6 @@ namespace HandBrakeWPF.Utilities
}
}
-
/// <summary>
/// Simple way of checking if a directory is writeable.
/// </summary>
@@ -48,7 +47,9 @@ namespace HandBrakeWPF.Utilities
{
try
{
- using (File.Create(Path.Combine(dirPath, Path.GetRandomFileName()), 1, FileOptions.DeleteOnClose)) { }
+ using (File.Create(Path.Combine(dirPath, Path.GetRandomFileName()), 1, FileOptions.DeleteOnClose))
+ {
+ }
return true;
}
catch