Commit ca0b0a6b by Francois Gygi

removed printout of newline if echoing input from file.


git-svn-id: http://qboxcode.org/svn/qb/trunk@294 cba15fb0-1239-40c8-b417-11db7ca47a34
parent c265761b
......@@ -3,7 +3,7 @@
// UserInterface.C: definition of readCmd and processCmds
//
////////////////////////////////////////////////////////////////////////////////
// $Id: UserInterface.C,v 1.2 2003-05-23 21:51:04 fgygi Exp $
// $Id: UserInterface.C,v 1.3 2004-11-10 22:36:50 fgygi Exp $
#include "UserInterface.h"
#include <string>
......@@ -77,7 +77,6 @@ char *UserInterface::readCmd(char *s, int max, istream &fp, bool echo)
if ( !(ch == '\n') )
return NULL; /* return NULL for end of file */
}
if ( echo ) cout << endl;
return s;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment