*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Thu, 30 Oct 2008 16:51:48 +0100
changeset 5069 2b40d206ba7f
parent 5068 3b67e0696166
child 5070 e0b85fdde61b
*** empty log message ***
ResourcePack.st
--- a/ResourcePack.st	Wed Oct 29 18:46:21 2008 +0100
+++ b/ResourcePack.st	Thu Oct 30 16:51:48 2008 +0100
@@ -932,13 +932,18 @@
 string:s withArgs:argArray
     "translate and expand args - allow text as arguments"
 
-    |template stream|
+    |template|
 
     template := self at:s ifAbsent:s.
+    ^ template expandPlaceholdersWith:argArray.
 
-    stream := TextStream on:(template species new:template size + 20).
-    template expandPlaceholdersWith:argArray on:stream.
-    ^ stream contents.
+
+
+
+
+
+
+
 !
 
 stringWithCRs:s
@@ -1316,7 +1321,7 @@
 !ResourcePack class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/ResourcePack.st,v 1.131 2008-05-29 13:26:34 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/ResourcePack.st,v 1.132 2008-10-30 15:51:48 cg Exp $'
 ! !
 
 ResourcePack initialize!