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

List:       lyx-cvs
Subject:    [LyX/master] Amend aaffcd0b: Remove some remnants ...
From:       Kornel Benko <kornel () lyx ! org>
Date:       2019-02-27 9:30:23
Message-ID: 20190227093023.6CD8328018B () lyx ! lyx ! org
[Download RAW message or body]

commit 2c5c397afa461b0f77786dbf1ff2987ef48f2434
Author: Kornel Benko <kornel@lyx.org>
Date:   Wed Feb 27 10:33:25 2019 +0100

    Amend aaffcd0b: Remove some remnants ...
---
 src/lyxfind.cpp |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp
index 29873ae..02e290a 100644
--- a/src/lyxfind.cpp
+++ b/src/lyxfind.cpp
@@ -3303,14 +3303,8 @@ docstring stringifyFromForSearch(FindAndReplaceOptions const & opt,
 	        return docstring();
 	if (!opt.ignoreformat)
 		return latexifyFromCursor(cur, len);
-	else {
-		if (len < 0) {
-			return stringifyFromCursor(cur, len);
-		}
-		else {
-			return stringifyFromCursor(cur, len);
-		}
-	}
+	else
+		return stringifyFromCursor(cur, len);
 }
 
 

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

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