Skip to content

Commit dce09fd

Browse files
committed
Wrap map INI path in quotation marks when opening it in text editor
1 parent a24e49e commit dce09fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/TSMapEditor/UI/TopBar/TopBarMenu.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ private void OpenWithTextEditor()
358358

359359
try
360360
{
361-
Process.Start(textEditorPath, map.LoadedINI.FileName);
361+
Process.Start(textEditorPath, "\"" + map.LoadedINI.FileName + "\"");
362362
}
363363
catch (Exception ex) when (ex is Win32Exception || ex is ObjectDisposedException)
364364
{

0 commit comments

Comments
 (0)