From ba2f812eaad757ba5c8b726265fc8b5d47821a8a Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 2 Mar 2016 20:46:30 +0000 Subject: WinGui: Don't check diskspace on UNC paths. --- win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 27bd32505..0886768e7 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -1724,8 +1724,8 @@ namespace HandBrakeWPF.ViewModels this.Destination = saveFileDialog.FileName; // Disk Space Check - string drive = Path.GetPathRoot(this.Destination); - if (drive != null) + string drive = Path.GetPathRoot(this.Destination); + if (drive != null && !drive.StartsWith(@"\\")) { DriveInfo c = new DriveInfo(drive); if (c.AvailableFreeSpace < this.userSettingService.GetUserSetting(UserSettingConstants.PauseOnLowDiskspaceLevel)) -- cgit v1.2.3