Mercurial > hg > octave-nkf
changeset 6676:43fdc8e8ed28
[project @ 2007-05-31 19:35:58 by jwe]
author | jwe |
---|---|
date | Thu, 31 May 2007 19:35:58 +0000 |
parents | f938c7018d28 |
children | 9a8861bc2b34 |
files | src/toplev.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/toplev.cc +++ b/src/toplev.cc @@ -558,7 +558,7 @@ ZeroMemory (&si, sizeof (si)); ZeroMemory (&pi, sizeof (pi)); OCTAVE_LOCAL_BUFFER (char, xcmd_str, cmd_str.length()+1); - strcpy (xcmd_str, cmd_str.c_str ()) + strcpy (xcmd_str, cmd_str.c_str ()); if (! CreateProcess (0, xcmd_str, 0, 0, FALSE, 0, 0, 0, &si, &pi)) error ("system: CreateProcess failed -- can't create child process");