summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Scheibenpflug <zorchenhimer@gmail.com>2016-11-12 17:23:03 (GMT)
committerNick Scheibenpflug <zorchenhimer@gmail.com>2016-11-12 17:23:03 (GMT)
commitf9c9b76c8cae3302d91b17e4ed2b65b21ff5874e (patch)
treee92e882d04edda576b5b805abe206a7889490413
parent6d7b24a5cfb7ab03e57fc31cfd5d8829d6e26e64 (diff)
downloadcontroller-keyboard-f9c9b76c8cae3302d91b17e4ed2b65b21ff5874e.zip
controller-keyboard-f9c9b76c8cae3302d91b17e4ed2b65b21ff5874e.tar.gz
Fix typo when fullscreen is used
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index 275e0d6..b62f1ef 100644
--- a/main.py
+++ b/main.py
@@ -12,7 +12,7 @@ class Game(object):
12 12
13 pygame.display.set_caption('Controller Keyboard') 13 pygame.display.set_caption('Controller Keyboard')
14 if fullscreen: 14 if fullscreen:
15 self.screen = pygame.dispay.set_mode((self.width, self.height), pygame.FULLSCREEN | pygame.HWSURFACE | pygame.DOUBLEBUF) 15 self.screen = pygame.display.set_mode((self.width, self.height), pygame.FULLSCREEN | pygame.HWSURFACE | pygame.DOUBLEBUF)
16 else: 16 else:
17 self.screen = pygame.display.set_mode((self.width, self.height)) 17 self.screen = pygame.display.set_mode((self.width, self.height))
18 18