whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36581 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2010-11-29 10:48:40 +00:00
parent 574931dcdb
commit 3753804463

View File

@ -74,9 +74,9 @@ namespace {
// Extracts arguments from str into args. Arguments are delimted by // Extracts arguments from str into args. Arguments are delimted by
// whitespace or by double quotes. // whitespace or by double quotes.
// We extract at most max + 1 arguments, treating args[max] as // We extract at most max + 1 arguments, treating args[max] as
// continuing to eol. // continuing to eol.
void splitArg(vector<string> & args, string const & str, void splitArg(vector<string> & args, string const & str,
unsigned int max = UINT_MAX) unsigned int max = UINT_MAX)
{ {
istringstream is(str); istringstream is(str);
@ -86,7 +86,7 @@ void splitArg(vector<string> & args, string const & str,
getline(is, s); getline(is, s);
args.push_back(trim(s)); args.push_back(trim(s));
return; return;
} }
char c; char c;
string s; string s;