commit 40159fd2ab5918503260d7cab05cb7dc2b19e635
Author: Juergen Spitzmueller <[email protected]>
Date:   Thu Sep 17 08:43:04 2020 +0200

    Fixup graphics height conversion when special is non-empty
---
 lib/lyx2lyx/lyx_2_4.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py
index b36ad1e..e1a8e6a 100644
--- a/lib/lyx2lyx/lyx_2_4.py
+++ b/lib/lyx2lyx/lyx_2_4.py
@@ -3606,7 +3606,7 @@ def convert_totalheight(document):
                     unit = relative_heights[unit]
                 if k != -1:
                     if special != "":
-                        val = val + "," + special
+                        val = val + unit + "," + special
                     document.body[k] = "\tspecial " + "height=" + val
                 else:
                     document.body.insert(kk + 1, "\tspecial height=" + val + 
unit)
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to