]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphMetrics.cpp
Fix compatibility issue with 64-bit cygwin.
[lyx.git] / src / ParagraphMetrics.cpp
index b1396dfdfe1cde456a7c84e45d80abf7e7e5b4b2..d7fb42b4a084ba1416fdc9584d6a92400e1e2556 100644 (file)
@@ -269,7 +269,7 @@ bool ParagraphMetrics::hfillExpansion(Row const & row, pos_type pos) const
        // the specified position that is neither a newline nor an hfill,
        // the hfill will be expanded, otherwise it won't
        for (pos_type i = row.pos(); i < pos; i++) {
-               if (!par_->isNewline(i) && !par_->isHfill(i))
+               if (!par_->isNewline(i) && !par_->isEnvSeparator(i) && !par_->isHfill(i))
                        return true;
        }
        return false;