#BUGFIX
authorStefan Vogel <sv@exept.de>
Thu, 15 Oct 2015 12:15:34 +0200
changeset 18829 1f56d744775b
parent 18828 919987dab72c
child 18830 ab7f93fb9554
child 18831 86e8f2bd201b
#BUGFIX class: ExternalBytes changed: #displayOn:
ExternalBytes.st
--- a/ExternalBytes.st	Thu Oct 15 12:15:14 2015 +0200
+++ b/ExternalBytes.st	Thu Oct 15 12:15:34 2015 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1993 by Claus Gittinger
 	      All Rights Reserved
@@ -1153,26 +1155,32 @@
     "/ what a kludge - Dolphin and Squeak mean: printOn: a stream;
     "/ ST/X (and some old ST80's) mean: draw-yourself on a GC.
     (aGCOrStream isStream) ifFalse:[
-	^ super displayOn:aGCOrStream
+        ^ super displayOn:aGCOrStream
     ].
 
     aGCOrStream nextPutAll:self className.
     addr := self address.
     addr isNil ifTrue:[
-	aGCOrStream nextPutAll:'[free]'.
+        aGCOrStream nextPutAll:'[free]'.
     ] ifFalse:[
-	size notNil ifTrue:[
-	    aGCOrStream nextPutAll:'[sz:'.
-	    size printOn:aGCOrStream.
-	    aGCOrStream space.
-	] ifFalse:[
-	    aGCOrStream nextPut:$[.
-	].
-	aGCOrStream nextPutAll:'at:'.
-	addr printOn:aGCOrStream base:16.
-	aGCOrStream nextPut:$].
+        size notNil ifTrue:[
+            aGCOrStream nextPutAll:'[sz:'.
+            size printOn:aGCOrStream.
+            aGCOrStream space.
+        ] ifFalse:[
+            aGCOrStream nextPut:$[.
+        ].
+        aGCOrStream nextPutAll:'@'.
+        addr printOn:aGCOrStream base:16.
+        aGCOrStream nextPut:$].
     ].
 
+    "
+        self new printString
+        (self new:5) displayString
+    "
+
+
     "Modified: / 24.2.2000 / 19:02:19 / cg"
 ! !