--- a/XWorkstation.st Tue Jan 27 01:05:18 1998 +0100
+++ b/XWorkstation.st Tue Jan 27 01:17:57 1998 +0100
@@ -3757,7 +3757,10 @@
image.depth = __intVal(imageDepth);
image.bits_per_pixel = __intVal(bitsPerPixel);
- image.bytes_per_line = ((((imgWdth * image.depth) + (pad-1)) / pad) * pad) / 8;
+ /*
+ image.bytes_per_line = ((((imgWdth * image.depth) + (pad-1)) / pad) * pad) / 8;
+ */
+ image.bytes_per_line = ((((imgWdth * image.bits_per_pixel) + (pad-1)) / pad) * pad) / 8;
switch (image.bits_per_pixel) {
case 1:
@@ -9864,6 +9867,6 @@
!XWorkstation class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.276 1998-01-25 14:09:42 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.277 1998-01-27 00:17:57 cg Exp $'
! !
XWorkstation initialize!