]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.C
fix crash when collapsing ert with cursor inside
[lyx.git] / src / lyxfind.C
index 1bcf3c398af04cf0f7db3eda4e728b225eb421b3..d85377f6656ed7b6d21877c35657bebd26aed76b 100644 (file)
@@ -88,7 +88,7 @@ public:
                        if (pos > 0 && par.isLetter(pos - 1))
                                return false;
                        if (pos + lyx::pos_type(size) < parsize
-                           && par.isLetter(pos + size));
+                           && par.isLetter(pos + size))
                                return false;
                }