commit 2c5c397afa461b0f77786dbf1ff2987ef48f2434
Author: Kornel Benko <[email protected]>
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);
}