Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x_colorsc.sobin608359 -> 608335 bytes
-rw-r--r--src/canvas.h4
2 files changed, 2 insertions, 2 deletions
diff --git a/_colorsc.so b/_colorsc.so
index 956ef1b..ecff122 100755
--- a/_colorsc.so
+++ b/_colorsc.so
Binary files differ
diff --git a/src/canvas.h b/src/canvas.h
index 61c045f..e06b1e8 100644
--- a/src/canvas.h
+++ b/src/canvas.h
@@ -1181,8 +1181,8 @@ public:
h = (height-7)*4-y;
// Translate origin to output location.
- int src_x = (x - scroll_x);
- int src_y = (y - scroll_y);
+ int src_x = (x - scroll_x)/4;
+ int src_y = (y - scroll_y)/4;
int csy = src_y;
for (int cy = y; cy < y+h; cy += 4)