]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiBibtex.cpp
fix completion painting for RTL (inline completion and completion list)
[lyx.git] / src / frontends / qt4 / GuiBibtex.cpp
index 28286367b4e25602d117f72c3cf96891b5e15243..3b78e406a79a45a76ff3fcf2b6cce4fe2189f925 100644 (file)
@@ -518,7 +518,7 @@ QString GuiBibtex::styleFile() const
                        // FIXME: check
                        // docstring bibtotoc = from_ascii("bibtotoc");
                        // bst = split(bst, bibtotoc, ',');
-                       bst = bst.mid(pos);     
+                       bst = bst.mid(pos + 1);
                } else {
                        bst.clear();
                }