]> git.lyx.org Git - lyx.git/blobdiff - src/support/syscall.C
lyxserver cleanup patch + andre's small patches
[lyx.git] / src / support / syscall.C
index b43fcc699560e3047a009d159ed45680c612b813..60afc4293545cf498a58119a2240b5497e49452d 100644 (file)
@@ -209,8 +209,11 @@ int Systemcalls::startscript(Starttype how, string const & what,
        retval  = 0;
 
        if (how == SystemDontWait) {
-               (os::shell() == os::UNIX) ? command += " &"
-                                         : command = "start /min/n " + command;
+               if (os::shell() == os::UNIX) {
+                       command += " &";
+               } else {
+                       command = "start /min/n " + command;
+               }
        }
 
         return startscript();