]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphMetrics.cpp
* gcc does not like missing characters in keywords
[lyx.git] / src / ParagraphMetrics.cpp
index 02eb591ff7ff66e763ba65209d2a1899ce4bbeb6..9d6404dbe6047f829d2b66562120f023d6bbb981 100644 (file)
@@ -216,7 +216,7 @@ int ParagraphMetrics::rightMargin(Buffer const & buffer) const
 int ParagraphMetrics::singleWidth(pos_type pos, Font const & font) const
 {
        // The most special cases are handled first.
-       if (par_->isInset(pos);)
+       if (par_->isInset(pos))
                return insetDimension(par_->getInset(pos)).wid;
 
        char_type c = par_->getChar(pos);