mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
0686bd964d
commit
2ff6a61669
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user