X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetNewline.cpp;h=b10954d4da659210f8192c273c7b47273bd2d87d;hb=59e6610d8ad4d5c5a81d9a6b4ef73ae36231489a;hp=411da120eb60120df773d8f9771209d2d57d0c1e;hpb=670efa8f646218f2a378f0cc614c4c37a9f6b89a;p=lyx.git diff --git a/src/insets/InsetNewline.cpp b/src/insets/InsetNewline.cpp index 411da120eb..b10954d4da 100644 --- a/src/insets/InsetNewline.cpp +++ b/src/insets/InsetNewline.cpp @@ -56,7 +56,7 @@ void InsetNewlineParams::read(Lexer & lex) { string token; lex.setContext("InsetNewlineParams::read"); - lex >> token; + lex >> token; if (token == "newline") kind = InsetNewlineParams::NEWLINE; else if (token == "linebreak") @@ -245,7 +245,7 @@ void InsetNewline::draw(PainterInfo & pi, int x, int y) const yp[0] = int(y - 0.875 * asc * 0.75); yp[1] = int(y - 0.500 * asc * 0.75); yp[2] = int(y - 0.125 * asc * 0.75); - + if (pi.ltr_pos) { xp[0] = int(x + 2 * wid * 0.813); xp[1] = int(x + 2 * wid);