Browse Source

Copy/paste error...

--HG--
branch : minor
Alex Szpakowski 10 years ago
parent
commit
5822128c14
2 changed files with 4 additions and 2 deletions
  1. 2 0
      src/common/config.h
  2. 2 2
      src/modules/love/love.cpp

+ 2 - 0
src/common/config.h

@@ -128,6 +128,8 @@
 #	define LOVE_ENABLE_THREAD_SDL
 #	define LOVE_ENABLE_THREAD_SDL
 #	define LOVE_ENABLE_TIMER
 #	define LOVE_ENABLE_TIMER
 #	define LOVE_ENABLE_TIMER_SDL
 #	define LOVE_ENABLE_TIMER_SDL
+#	define LOVE_ENABLE_TOUCH
+#	define LOVE_ENABLE_TOUCH_SDL
 #	define LOVE_ENABLE_UTF8
 #	define LOVE_ENABLE_UTF8
 #	define LOVE_ENABLE_WINDOW
 #	define LOVE_ENABLE_WINDOW
 #	define LOVE_ENABLE_WINDOW_SDL
 #	define LOVE_ENABLE_WINDOW_SDL

+ 2 - 2
src/modules/love/love.cpp

@@ -100,7 +100,7 @@ extern "C"
 #if defined(LOVE_ENABLE_THREAD)
 #if defined(LOVE_ENABLE_THREAD)
 	extern int luaopen_love_thread(lua_State*);
 	extern int luaopen_love_thread(lua_State*);
 #endif
 #endif
-#if defined(LOVE_ENABLE_THREAD)
+#if defined(LOVE_ENABLE_TOUCH)
 	extern int luaopen_love_touch(lua_State*);
 	extern int luaopen_love_touch(lua_State*);
 #endif
 #endif
 #if defined(LOVE_ENABLE_WINDOW)
 #if defined(LOVE_ENABLE_WINDOW)
@@ -155,7 +155,7 @@ static const luaL_Reg modules[] = {
 #if defined(LOVE_ENABLE_THREAD)
 #if defined(LOVE_ENABLE_THREAD)
 	{ "love.thread", luaopen_love_thread },
 	{ "love.thread", luaopen_love_thread },
 #endif
 #endif
-#if defined(LOVE_ENABLE_THREAD)
+#if defined(LOVE_ENABLE_TOUCH)
 	{ "love.touch", luaopen_love_touch },
 	{ "love.touch", luaopen_love_touch },
 #endif
 #endif
 #if defined(LOVE_ENABLE_WINDOW)
 #if defined(LOVE_ENABLE_WINDOW)