Changeset 604 for src/buildMenu.py


Ignore:
Timestamp:
04/22/2012 11:54:48 PM (3 years ago)
Author:
jelinson
Message:

fixed buildmenu overlapping bu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/buildMenu.py

    r593 r604  
    5050        self.numPages = (len(catBuildings) - 1) / PAGE_SIZE
    5151        for j in range(self.numPages + 1):
    52             page = MenuPage(self.pos, False, j, self.responseList )
     52            page = MenuPage(self.pos, False, j, self.responseList)
    5353            for i in range(PAGE_SIZE):
    5454                if j * PAGE_SIZE + i >= len(catBuildings):
     
    7777        """
    7878            Moves to the previous block
    79            
     79
    8080            input type: none
    8181            return type: none
     
    139139            if window.isVisible():
    140140                returnValue = window.event(e)
    141                 if returnValue != False:
     141                if returnValue is not False:
    142142                    return returnValue
    143143        return self.response(e)
Note: See TracChangeset for help on using the changeset viewer.