Skip to content

Commit

Permalink
Add quotes around acc executable path when compiling acs
Browse files Browse the repository at this point in the history
  • Loading branch information
sirjuddington committed Apr 29, 2018
1 parent 370ed8c commit 8e04552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MainEditor/EntryOperations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ bool EntryOperations::compileACS(ArchiveEntry* entry, bool hexen, ArchiveEntry*
entry->exportFile(srcfile);

// Execute acc
string command = path_acc + " " + opt + " \"" + srcfile + "\" \"" + ofile + "\"";
string command = "\"" + path_acc + "\"" + " " + opt + " \"" + srcfile + "\" \"" + ofile + "\"";
wxArrayString output;
wxArrayString errout;
wxTheApp->SetTopWindow(parent);
Expand Down

0 comments on commit 8e04552

Please sign in to comment.