diff --git a/lib/lyx2lyx/ChangeLog b/lib/lyx2lyx/ChangeLog index 7d541da23d..55ba52efc5 100644 --- a/lib/lyx2lyx/ChangeLog +++ b/lib/lyx2lyx/ChangeLog @@ -1,3 +1,7 @@ +2005-04-26 Georg Baum + + * lyx_1_4.py (convert_breaks): fix copy-and-paste error + 2005-02-20 Georg Baum * lyx_1_4.py (lyx_support_escape): new diff --git a/lib/lyx2lyx/lyx_1_4.py b/lib/lyx2lyx/lyx_1_4.py index f459ef43ff..125086ee27 100644 --- a/lib/lyx2lyx/lyx_1_4.py +++ b/lib/lyx2lyx/lyx_1_4.py @@ -558,7 +558,7 @@ def convert_breaks(file): # Create an empty paragraph for line and page break that belong # above the paragraph - if pb_top !=-1 or line_top != -1 or vspace_bot != -1: + if pb_top !=-1 or line_top != -1 or vspace_top != -1: paragraph_above = ['','\\begin_layout Standard','',''] @@ -583,7 +583,7 @@ def convert_breaks(file): if k == -1: return - if pb_top !=-1 or line_top != -1 or vspace_bot != -1: + if pb_bot !=-1 or line_bot != -1 or vspace_bot != -1: paragraph_bellow = ['','\\begin_layout Standard','','']