summaryrefslogtreecommitdiff
path: root/src/PowderToy.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-03-03 17:58:33 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-03-03 17:58:33 (GMT)
commit732b9d6a0d16f94cd1c39f8e023e369c5837bb9c (patch)
tree7695c64eccd2e27c255b3185e1e1bee45ffb8bf6 /src/PowderToy.cpp
parentafe9e061e1d173731d8a5122c397a2caf4fe61ab (diff)
downloadpowder-732b9d6a0d16f94cd1c39f8e023e369c5837bb9c.zip
powder-732b9d6a0d16f94cd1c39f8e023e369c5837bb9c.tar.gz
Disable key repeat
Diffstat (limited to 'src/PowderToy.cpp')
-rw-r--r--src/PowderToy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PowderToy.cpp b/src/PowderToy.cpp
index 880aa7e..abe234c 100644
--- a/src/PowderToy.cpp
+++ b/src/PowderToy.cpp
@@ -73,7 +73,7 @@ SDL_Surface * SDLOpen()
#endif
SDL_WM_SetCaption("The Powder Toy", "Powder Toy");
- SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
+ //SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
atexit(SDL_Quit);
return SDL_SetVideoMode(XRES + BARSIZE, YRES + MENUSIZE, 32, SDL_SWSURFACE);
}