summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a7093c1)
raw | patch | inline | side by side (parent: a7093c1)
author | tavmjong-free <tavmjong@free.fr> | |
Sun, 6 Jun 2010 19:55:16 +0000 (21:55 +0200) | ||
committer | tavmjong-free <tavmjong@free.fr> | |
Sun, 6 Jun 2010 19:55:16 +0000 (21:55 +0200) |
src/style.cpp | patch | blob | history |
diff --git a/src/style.cpp b/src/style.cpp
index 9c82b1b7a3bcbb60edb132dcf20e0c9c141c51ff..b3cc370f9cdb39cb97ac2ae212c5d63da7178dc4 100644 (file)
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -1396,6 +1396,8 @@ sp_style_merge_baseline_shift_from_parent(SPIBaselineShift &child, SPIBaselineSh
break;
}
}
+ // baseline-shifts are relative to parent baseline
+ child.computed += parent.computed;
}
/**