fix bug #12187: [set_variables] [split] with empty separator...

...was not doing what it intended to do due to incorrectly converting
a char to a string.
This commit is contained in:
Tomasz Śniatowski 2008-08-17 13:05:56 +01:00
parent fcfa29b88c
commit 0218bd8e54

View file

@ -1370,7 +1370,7 @@ namespace {
{
for(std::string::iterator i=split_string.begin(); i!=split_string.end(); ++i)
{
split_vector.push_back(&*i);
split_vector.push_back(std::string(1, *i));
}
}
else {