oops - fromLiteralArrayEncoding was broken
authorClaus Gittinger <cg@exept.de>
Tue, 09 Sep 2003 11:43:30 +0200
changeset 1810 61452e83a4e1
parent 1809 cfcbb13afdb5
child 1811 d3fabf23f595
oops - fromLiteralArrayEncoding was broken
PropertyListDictionary.st
--- a/PropertyListDictionary.st	Mon Sep 08 13:55:19 2003 +0200
+++ b/PropertyListDictionary.st	Tue Sep 09 11:43:30 2003 +0200
@@ -127,7 +127,7 @@
     "
     |key val|
 
-    2 to:aLiteralEncodedArray size by:2 do:[:i |
+    2 to:aLiteralEncodedArray size-1 by:2 do:[:i |
         key := aLiteralEncodedArray at:i.
         val := (aLiteralEncodedArray at:i+1) decodeAsLiteralArray.
 
@@ -177,5 +177,5 @@
 !PropertyListDictionary class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/PropertyListDictionary.st,v 1.4 2003-08-30 12:36:20 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/PropertyListDictionary.st,v 1.5 2003-09-09 09:43:30 cg Exp $'
 ! !