]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
partial fix for bug 6986: Use the right tex2lyx (at least if tex2lyx is installed)
[lyx.git] / src / Cursor.cpp
index d504670fa7fedb726d98df8b6ad5f57fc7bf0ac6..e08793c393f2ed8c88c2ffb615bfbd95094189d3 100644 (file)
@@ -154,7 +154,7 @@ bool bruteFind(Cursor & cursor,
        else
                ++et.pit();
 
-       double best_dist = numeric_limits<double>::max();;
+       double best_dist = numeric_limits<double>::max();
        DocIterator best_cursor = et;
 
        for ( ; it != et; it.forwardPos(true)) {