class: WindowsIconReader
authorStefan Vogel <sv@exept.de>
Sat, 10 Aug 2013 13:25:55 +0200
changeset 3213 f89acb58aa7e
parent 3212 a5ee318ee18d
child 3214 d39b11efa0a6
class: WindowsIconReader changed: #saveBMP:onFile: use #position/#position: instead of #positionXBased
WindowsIconReader.st
--- a/WindowsIconReader.st	Sat Aug 10 13:22:11 2013 +0200
+++ b/WindowsIconReader.st	Sat Aug 10 13:25:55 2013 +0200
@@ -1131,7 +1131,7 @@
     self writeLong:bfOffBits.  "Offset of bitmap data from start of hdr (and file)"
 
     "Write the bitmap info header"
-    outStream position1Based: bhSize+1.
+    outStream position: bhSize.
     self writeLong:biSize.  "info header size in bytes"
     self writeLong:width.  "biWidth"
     self writeLong:height.  "biHeight"
@@ -1318,11 +1318,11 @@
 !WindowsIconReader class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/WindowsIconReader.st,v 1.66 2013-05-15 11:15:19 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/WindowsIconReader.st,v 1.67 2013-08-10 11:25:55 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview2/WindowsIconReader.st,v 1.66 2013-05-15 11:15:19 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/WindowsIconReader.st,v 1.67 2013-08-10 11:25:55 stefan Exp $'
 ! !