[pypy-svn] r62261 - pypy/trunk/pypy/lang/gameboy

tverwaes at codespeak.net tverwaes at codespeak.net
Fri Feb 27 23:47:01 CET 2009


Author: tverwaes
Date: Fri Feb 27 23:47:00 2009
New Revision: 62261

Modified:
   pypy/trunk/pypy/lang/gameboy/video.py
Log:
nicer code layout :)


Modified: pypy/trunk/pypy/lang/gameboy/video.py
==============================================================================
--- pypy/trunk/pypy/lang/gameboy/video.py	(original)
+++ pypy/trunk/pypy/lang/gameboy/video.py	Fri Feb 27 23:47:00 2009
@@ -605,7 +605,8 @@
                 if (self.objects[right] >> 20) > \
                    (self.objects[highest] >> 20):
                     highest = right
-            self.objects[index], self.objects[highest] = self.objects[highest], self.objects[index]
+            self.objects[index], self.objects[highest] = \
+                    self.objects[highest], self.objects[index]
 
     def draw_tiles(self, x, tile_map, tile_data):
         while x < GAMEBOY_SCREEN_WIDTH+SPRITE_SIZE:



More information about the Pypy-commit mailing list