Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWade Brainerd <wadetb@gmail.com>2008-11-29 21:00:54 (GMT)
committer Wade Brainerd <wadetb@gmail.com>2008-11-29 21:00:54 (GMT)
commit8603a9d990867d4624f9854a0f9a633861c19c01 (patch)
treeae184c1c6af0187f714eaf1d0468d50b461b5d65 /src
parent7cf23ecfe07a17e766c2b104f2d5b39ec028a27f (diff)
Unknown changes.
Diffstat (limited to 'src')
-rw-r--r--src/canvas.h4
1 files changed, 2 insertions, 2 deletions
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)