]> git.lyx.org Git - features.git/blobdiff - src/lyxserver.C
remove some unneeded version of functions from lstrings,
[features.git] / src / lyxserver.C
index db90e4619032e6d726c2810092531afce1c5deb2..ed4948919c41247394ac240a9b01fd0a17f78949 100644 (file)
@@ -270,7 +270,7 @@ void LyXComm::read_ready()
        while ((status = read(infd, charbuf, CMDBUFLEN-1))) {
                if (status > 0) {
                        charbuf[status]= '\0'; // turn it into a c string
-                       lsbuf += strip(charbuf, '\r');
+                       lsbuf += strip(charbuf, "\r");
                        // commit any commands read
                        while (lsbuf.find('\n') != string::npos) {
                                // split() grabs the entire string if
@@ -474,7 +474,7 @@ void LyXServer::callback(LyXServer * serv, string const & msg)
 
                        serv->func->dispatch(cmd + ' ' + arg);
                        string const rval = serv->func->getMessage();
-                       
+
                        //modified june 1999 stefano@zool.su.se:
                        //all commands produce an INFO or ERROR message
                        //in the output pipe, even if they do not return