[pypy-commit] lang-smalltalk bitblt: fix typo

timfel noreply at buildbot.pypy.org
Wed Mar 13 16:19:31 CET 2013


Author: Tim Felgentreff <timfelgentreff at gmail.com>
Branch: bitblt
Changeset: r171:6a5caef9bb98
Date: 2013-03-13 16:18 +0100
http://bitbucket.org/pypy/lang-smalltalk/changeset/6a5caef9bb98/

Log:	fix typo

diff --git a/spyvm/shadow.py b/spyvm/shadow.py
--- a/spyvm/shadow.py
+++ b/spyvm/shadow.py
@@ -1014,7 +1014,7 @@
         if self.sx + self.w > self.source_form.width:
             self.w = self.w - (self.sx + self.w - self.source_form.width)
         if self.sy < 0:
-            self.dy = self.dy - self.su
+            self.dy = self.dy - self.sy
             self.h = self.h + self.sy
             self.sy = 0
         if self.sy + self.h > self.source_form.height:


More information about the pypy-commit mailing list