use += operator for char append to string

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3751 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-03-14 09:59:02 +00:00
parent 0686bd964d
commit 2ff6a61669
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com> 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
* buffer.C (asciiParagraph): use += operator for char append to
string.
* paragraph.C (getFontSettings): compare >= not just > * paragraph.C (getFontSettings): compare >= not just >
(highestFontInRange): ditto (highestFontInRange): ditto
(setFont): ditto (setFont): ditto

View File

@ -1996,7 +1996,7 @@ string const Buffer::asciiParagraph(Paragraph const * par,
} else { } else {
if (c != '\0') { if (c != '\0') {
word.push_back(c); word += c;
} else { } else {
lyxerr[Debug::INFO] << lyxerr[Debug::INFO] <<
"writeAsciiFile: NULL char in structure." << endl; "writeAsciiFile: NULL char in structure." << endl;