From 167c38377c113cafa4590665f467e4e608a49675 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sun, 31 Dec 2017 09:41:43 +0100 Subject: [PATCH] Use real cursor pit, not the modified one. --- src/Text3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text3.cpp b/src/Text3.cpp index a65de1d751..0c48da2b7c 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -1533,7 +1533,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) if (cpar.params().depth() == 0) break; } - if (outer && pit < cur.lastpit()) { + if (outer && cur.pit() < cur.lastpit()) { // save nesting of following paragraph cpar = pars_[cur.pit() + 1]; nextpar_depth = cpar.params().depth();