[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-cvs
Subject:    [LyX/master] Whitespace cosmetics
From:       Juergen Spitzmueller <spitz () lyx ! org>
Date:       2017-09-27 16:07:55
Message-ID: 20170927160755.6898F28030A () lyx ! lyx ! org
[Download RAW message or body]

commit a0bd27d8b17b7109b2a171c5c8ce526e27150684
Author: Juergen Spitzmueller <spitz@lyx.org>
Date:   Wed Sep 27 18:05:58 2017 +0200

    Whitespace cosmetics
    
    (cherry picked from commit 745b43784ce1b6981fd31f6c5f5fbd489eef51f4)
---
 src/Buffer.cpp              |    8 ++++----
 src/insets/InsetInclude.cpp |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 9c42b07..11e46ba 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -538,10 +538,10 @@ Buffer::~Buffer()
 		for (; it != end; ++it) {
 			Buffer * child = const_cast<Buffer *>(it->first);
 			if (theBufferList().isLoaded(child)) {
-			 if (theBufferList().isOthersChild(this, child))
-				 child->setParent(0);
-			 else
-				theBufferList().release(child);
+				if (theBufferList().isOthersChild(this, child))
+					child->setParent(0);
+				else
+					theBufferList().release(child);
 			}
 		}
 
diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp
index f966fbc..6af715f 100644
--- a/src/insets/InsetInclude.cpp
+++ b/src/insets/InsetInclude.cpp
@@ -436,7 +436,7 @@ Buffer * InsetInclude::loadIfNeeded() const
 	// Use cached Buffer if possible.
 	if (child_buffer_ != 0) {
 		if (theBufferList().isLoaded(child_buffer_)
-    		// additional sanity check: make sure the Buffer really is
+		    // additional sanity check: make sure the Buffer really is
 		    // associated with the file we want.
 		    && child_buffer_ == theBufferList().getBuffer(included_file))
 			return child_buffer_;

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic