Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data/GSOC examples/Koch snowflake
diff options
context:
space:
mode:
Diffstat (limited to 'data/GSOC examples/Koch snowflake')
-rw-r--r--data/GSOC examples/Koch snowflake2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/GSOC examples/Koch snowflake b/data/GSOC examples/Koch snowflake
index 00159bd..c60d300 100644
--- a/data/GSOC examples/Koch snowflake
+++ b/data/GSOC examples/Koch snowflake
@@ -190,7 +190,7 @@ while pippy.pygame.next_frame():
elif event.type == KEYDOWN and event.key == K_LEFT and depth > 0:
depth = depth-1
lines = produce_lines(starting_lines, depth)
- elif event.type == KEYDOWN:
+ elif event.type == KEYDOWN and event.key == K_q:
sys.exit()
screen.fill(bgcolor)
# Display the current step.