--- a/Depth2Image.st Fri Jul 31 20:13:08 1998 +0200
+++ b/Depth2Image.st Sat Aug 01 15:53:25 1998 +0200
@@ -222,8 +222,13 @@
#ifdef MSBFIRST
((short *)dstPtr)[0] = v;
#else
+# ifdef SWAP_BYTES
+ SWAP_BYTES(v);
+ ((short *)dstPtr)[0] = v;
+# else
dstPtr[0] = (v>>8) & 0xFF;
dstPtr[1] = (v) & 0xFF;
+# endif
#endif
dstPtr += 2;
@@ -943,5 +948,5 @@
!Depth2Image class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/Depth2Image.st,v 1.32 1998-07-29 11:18:53 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/Depth2Image.st,v 1.33 1998-08-01 13:53:25 cg Exp $'
! !