summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2018-07-13 22:52:17 +0100
committersr55 <[email protected]>2018-07-13 22:52:17 +0100
commite713d2e89933071d3665397abfa88183c929a224 (patch)
treed3e2a1ef9a7f3edc5315448e6dfa84be8820e248 /win/CS
parent4756b8508d9322da84282421983714e2578d8227 (diff)
WinGui: Fix an issue that was causing the app to erroneously create a "HandBrake Team" folder under the users "Roaming" folder. This also now displays the correct directory under the Log "Data Dir" line.
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs b/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs
index 6ce55c865..f03d16f2c 100644
--- a/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs
+++ b/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs
@@ -115,7 +115,7 @@ namespace HandBrakeWPF.Utilities
logHeader.AppendLine(string.Format("Screen: {0}x{1}", SystemInfo.ScreenBounds.Bounds.Width, SystemInfo.ScreenBounds.Bounds.Height));
logHeader.AppendLine(string.Format("Temp Dir: {0}", Path.GetTempPath()));
logHeader.AppendLine(string.Format("Install Dir: {0}", Application.StartupPath));
- logHeader.AppendLine(string.Format("Data Dir: {0}\n", Application.UserAppDataPath));
+ logHeader.AppendLine(string.Format("Data Dir: {0}\n", DirectoryUtilities.GetUserStoragePath(VersionHelper.IsNightly())));
logHeader.AppendLine("-------------------------------------------");