mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Correctly set the breakline guard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36381 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8fa5778221
commit
a1927c00d2
@ -222,10 +222,9 @@ WriteStream & operator<<(WriteStream & ws, char c)
|
||||
ws.pendingSpace(false);
|
||||
}
|
||||
ws.os() << c;
|
||||
if (c == '\n') {
|
||||
if (c == '\n')
|
||||
ws.addlines(1);
|
||||
ws.canBreakLine(false);
|
||||
}
|
||||
ws.canBreakLine(c != '\n');
|
||||
return ws;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user