[labyrinth commit] r349 - in trunk: . src

0 views
Skip to first unread message

codesite...@google.com

unread,
Feb 28, 2009, 3:20:36 PM2/28/09
to labyrinth-...@googlegroups.com
Author: mas...@ma-scha.de
Date: Sat Feb 28 12:19:26 2009
New Revision: 349

Modified:
trunk/ChangeLog
trunk/src/MMapArea.py

Log:
* src/MMapArea.py
Used wrong variable name use height instead of heigth0. Thanks to
Kunshan Wang for the pointer.


Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Sat Feb 28 12:19:26 2009
@@ -1,3 +1,9 @@
+2009-02-28 Martin Schaaf <mas...@ma-scha.de>
+
+ * src/MMapArea.py
+ Used wrong variable name use height instead of heigth0. Thanks to
+ Kunshan Wang for the pointer.
+
2009-02-27 Matthias Vogelgesang <matthias.v...@gmail.com>

* data/Makefile.am

Modified: trunk/src/MMapArea.py
==============================================================================
--- trunk/src/MMapArea.py (original)
+++ trunk/src/MMapArea.py Sat Feb 28 12:19:26 2009
@@ -797,7 +797,7 @@
height = area.height / self.scale_fac
for t in self.thoughts:
try:
- if max(t.ul[0],ax)<=min(t.lr[0],ax+width) and
max(t.ul[1],ay)<=min(t.lr[1],ay+height0):
+ if max(t.ul[0],ax)<=min(t.lr[0],ax+width) and
max(t.ul[1],ay)<=min(t.lr[1],ay+height):
t.draw (context)
except:
t.draw(context)

Reply all
Reply to author
Forward
0 new messages