Can anybody explain me the logic behind the '-' lines?
Shouldn't the '+' lines be more appropriate?


Index: text2.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text2.C,v
retrieving revision 1.415
retrieving revision 1.416
diff -u -r1.415 -r1.416
--- text2.C     4 Aug 2003 09:06:34 -0000       1.415
+++ text2.C     4 Aug 2003 09:42:02 -0000       1.416
@@ -1199,10 +1199,8 @@
 
                string const & newLabel = pit->params().labelString();
 
-               if (oldLabel.empty() && !newLabel.empty()) {
-                       removeParagraph(rowit);
-                       appendParagraph(rowit);
-               }
+               if (oldLabel != newLabel)
+                       redoParagraph(pit);
        }
 }

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one.     (T. Jefferson or B. Franklin or both...)

Reply via email to