DiffTextView.st
changeset 4489 0deb97a82d68
parent 4413 ff365700effb
child 5778 15da4590fcd5
--- a/DiffTextView.st	Mon Jan 27 11:52:40 2003 +0100
+++ b/DiffTextView.st	Mon Jan 27 13:07:53 2003 +0100
@@ -466,11 +466,11 @@
             ].
 
             state == #added ifTrue:[
-                l1 add:(text1 at:idx1).
+                l1 add:(text1 at:idx1 ifAbsent:'').
                 idx1 := idx1 + 1.
             ].
             state == #deleted ifTrue:[
-                l2 add:(text2 at:idx2).
+                l2 add:(text2 at:idx2 ifAbsent:'').
                 idx2 := idx2 + 1.
             ].
 
@@ -632,5 +632,5 @@
 !DiffTextView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/DiffTextView.st,v 1.36 2003-01-07 12:03:03 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/DiffTextView.st,v 1.37 2003-01-27 12:07:53 cg Exp $'
 ! !