Skip to content

Commit

Permalink
minor modification in Translator for "keepEnd" specification key support
Browse files Browse the repository at this point in the history
issue #33
  • Loading branch information
Valentin Noel committed Dec 16, 2013
1 parent 87db398 commit d19b137
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ void Translator::fillStream( std::ostringstream& osstr )
template< >
void Translator::fillStream< eDisplayTypeAscii >( std::ostringstream& osstr )
{
for( size_t i = 0; i < _ref->_data.size(); ++i )
size_t size = _ref->_data.size();
if( ! _ref->_keepEndingChar )
--size;
for( size_t i = 0; i < size; ++i )
osstr << _ref->_data.at( i );
}

Expand Down

0 comments on commit d19b137

Please sign in to comment.