mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36581 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
574931dcdb
commit
3753804463
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user