Depth1Image.st
changeset 2044 9ea84b4ba249
parent 2042 58c0228331bb
child 2179 30461fd19cd5
--- a/Depth1Image.st	Thu Feb 05 15:22:39 1998 +0100
+++ b/Depth1Image.st	Thu Feb 05 15:30:50 1998 +0100
@@ -165,9 +165,9 @@
     OBJ w = _INST(width);
 
     if (__isByteArray(b) && __bothSmallInteger(x, y) && __isSmallInteger(w) ) {
-        int _w = _intVal(w);
-        int _y = _intVal(y);
-        int _x = _intVal(x);
+        int _w = __intVal(w);
+        int _y = __intVal(y);
+        int _x = __intVal(x);
         unsigned _byte;
         int _idx;
 
@@ -216,9 +216,9 @@
     OBJ w = _INST(width);
 
     if (__isByteArray(b) && __bothSmallInteger(x, y) && __isSmallInteger(w) ) {
-        int _w = _intVal(w);
-        int _y = _intVal(y);
-        int _x = _intVal(x);
+        int _w = __intVal(w);
+        int _y = __intVal(y);
+        int _x = __intVal(x);
         int _idx;
 
         _idx = ((_w + 7) >> 3) * _y + (_x >> 3);
@@ -532,8 +532,8 @@
     int _w1 = __intVal(__INST(width));
     int _y1, _y2;
     OBJ b2 = newBits;
-    int _w2 = _intVal(newWidth);
-    int _h2 = _intVal(newHeight);
+    int _w2 = __intVal(newWidth);
+    int _h2 = __intVal(newHeight);
     int _x2, _x1;
     int _idx2;
     unsigned _byte;
@@ -603,10 +603,10 @@
     if (__bothSmallInteger(srcStart, dstStart)
      && __bothSmallInteger(w, mX)
      && __isByteArray(srcBytes) && __isByteArray(dstBytes)) {
-	_mag = _intVal(mX);
-	srcP = __ByteArrayInstPtr(srcBytes)->ba_element - 1 + _intVal(srcStart);
-	dstP = __ByteArrayInstPtr(dstBytes)->ba_element - 1 + _intVal(dstStart);
-	_pixels = _intVal(w);
+	_mag = __intVal(mX);
+	srcP = __ByteArrayInstPtr(srcBytes)->ba_element - 1 + __intVal(srcStart);
+	dstP = __ByteArrayInstPtr(dstBytes)->ba_element - 1 + __intVal(dstStart);
+	_pixels = __intVal(w);
 
 	switch (_mag) {
 	    case 1:
@@ -736,5 +736,5 @@
 !Depth1Image class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/Depth1Image.st,v 1.32 1998-02-05 14:19:50 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/Depth1Image.st,v 1.33 1998-02-05 14:29:51 cg Exp $'
 ! !