Skip to content

Commit

Permalink
Support for file names containing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
FEBuilderGBA committed May 4, 2023
1 parent c7a235a commit b4c57e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DirectPlayS/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,8 @@ bool ExecuteTextEditor(string filename)

try
{
MainFormUtil.ProgramRunAs(editorEXE, filename);
string s_filename = U.escape_shell_args(filename);
MainFormUtil.ProgramRunAs(editorEXE, s_filename);
}
catch (Exception e)
{
Expand Down

0 comments on commit b4c57e3

Please sign in to comment.