From 2c5c397afa461b0f77786dbf1ff2987ef48f2434 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Wed, 27 Feb 2019 10:33:25 +0100 Subject: [PATCH] Amend aaffcd0b: Remove some remnants ... --- src/lyxfind.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index 29873aea73..02e290a6c0 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); } -- 2.39.2