From dca8fe79058ed960c139e220414a0436a5562bcf Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 4 Aug 2016 14:33:02 +0200 Subject: [PATCH] Actually use modified path in working dir hint --- renderdocui/Windows/Dialogs/CaptureDialog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdocui/Windows/Dialogs/CaptureDialog.cs b/renderdocui/Windows/Dialogs/CaptureDialog.cs index 78611c57b..71220a37d 100644 --- a/renderdocui/Windows/Dialogs/CaptureDialog.cs +++ b/renderdocui/Windows/Dialogs/CaptureDialog.cs @@ -544,7 +544,7 @@ namespace renderdocui.Windows.Dialogs // if it's a unix style path, maintain the slash type if (Helpers.CharCount(exePath.Text, '/') > Helpers.CharCount(exePath.Text, '\\')) { - workDirPath.Text.Replace('\\', '/'); + workDirPath.Text = workDirPath.Text.Replace('\\', '/'); } }