--- a/XBMReader.st Wed May 03 02:04:06 1995 +0200
+++ b/XBMReader.st Wed May 03 02:26:52 1995 +0200
@@ -23,7 +23,7 @@
COPYRIGHT (c) 1992 by Claus Gittinger
All Rights Reserved
-$Header: /cvs/stx/stx/libview2/XBMReader.st,v 1.12 1995-03-25 22:16:24 claus Exp $
+$Header: /cvs/stx/stx/libview2/XBMReader.st,v 1.13 1995-05-03 00:26:52 claus Exp $
'!
!XBMReader class methodsFor:'documentation'!
@@ -44,7 +44,7 @@
version
"
-$Header: /cvs/stx/stx/libview2/XBMReader.st,v 1.12 1995-03-25 22:16:24 claus Exp $
+$Header: /cvs/stx/stx/libview2/XBMReader.st,v 1.13 1995-05-03 00:26:52 claus Exp $
"
!
@@ -218,6 +218,7 @@
"save image as XBM file on aFileName"
|reverseBits bits byte
+ h "{ Class: SmallInteger }"
srcIndex "{ Class: SmallInteger }"
rowBytes "{ Class: SmallInteger }" |
@@ -253,7 +254,8 @@
data := image bits.
srcIndex := 1.
- height timesRepeat:[
+ h := height.
+ h timesRepeat:[
rowBytes timesRepeat:[
outStream nextPutAll: '0x'.
bits := data at:srcIndex. srcIndex := srcIndex + 1.