]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.cpp
Russian splash.lyx: updates from Yuriy
[lyx.git] / src / TextMetrics.cpp
index e3a1f26092ff723225a49eb798d714ee93a17ef7..6c5a3222772cf794f6bc31fa27327477e951f3cc 100644 (file)
@@ -640,8 +640,10 @@ void TextMetrics::computeRowMetrics(Row & row, int width) const
                        break;
                case LYX_ALIGN_LEFT:
                        // a displayed inset that is flushed
-                       if (Inset const * inset = par.getInset(row.pos()))
+                       if (Inset const * inset = par.getInset(row.pos())) {
                                row.left_margin += inset->indent(*bv_);
+                               row.dimension().wid += inset->indent(*bv_);
+                       }
                        break;
                case LYX_ALIGN_RIGHT:
                        if (Inset const * inset = par.getInset(row.pos())) {