]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.cpp
Support the new Indian Rupee currency symbol.
[lyx.git] / src / lyxfind.cpp
index c5adc57dd030b2d431b450b6685756f969b22455..921c25d59b885c20f137bcbb9831d5a9849c5151 100644 (file)
@@ -236,7 +236,7 @@ pair<bool, int> replaceOne(BufferView * bv, docstring searchstr,
                // empty search string
                if (!cur.inTexted())
                        // bail in math
-                       return pair<int, bool>(0, false);
+                       return pair<bool, int>(false, 0);
                // select current word and treat it as the search string
                cur.innerText()->selectWord(cur, WHOLE_WORD);
                searchstr = cur.selectionAsString(false);