1. Code Fix for MEditor
- Posted by euphoric <euphoric at cklester.com> Nov 11, 2003
- 511 views
These lines are in the onClick_RUN() procedure, starting with line 2157... -- PL 18/11/02 nicked from rundemos.exw command_ptr = allocate_string("Open") if length(exe) then Fnm_ptr = allocate_string(exe) -- Prm_ptr = allocate_string(path&name) -- bad version Prm_ptr = allocate_string("\"" & path&name & "\"") -- fixed version else -- Fnm_ptr = allocate_string(path&name) -- bad version Fnm_ptr = allocate_string("\"" & path&name & "\"") -- fixed version Prm_ptr = allocate_string("") end if I had to make the change because my path&name had spaces in them... the quotes are required to parse it properly.