[LyX/master] Whitespace

Juergen Spitzmueller spitz at lyx.org
Mon Jan 13 08:04:35 UTC 2020


commit ff85641cc0f7aa90d419a2c5d65c94a698b9ed64
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Mon Jan 13 09:21:32 2020 +0100

    Whitespace
---
 src/Paragraph.cpp |    4 ++--
 src/Text.cpp      |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index 22aa744..710587b 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -654,8 +654,8 @@ void Paragraph::setChange(pos_type pos, Change const & change)
 
 	// see comment in setChange(Change const &) above
 	if (!change.deleted() && pos < size())
-			if (Inset * inset = getInset(pos))
-				inset->setChange(change);
+		if (Inset * inset = getInset(pos))
+			inset->setChange(change);
 }
 
 
diff --git a/src/Text.cpp b/src/Text.cpp
index 6d5f7dd..b29e002 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -1768,7 +1768,7 @@ bool Text::backspace(Cursor & cur)
 	needsUpdate |= handleBibitems(cur);
 
 	// A singlePar update is not enough in this case.
-//		cur.screenUpdateFlags(Update::Force);
+	// cur.screenUpdateFlags(Update::Force);
 	cur.top().setPitPos(cur.pit(), cur.pos());
 
 	return needsUpdate;


More information about the lyx-cvs mailing list