From 5822128c141eecd6bf45f31b80214059677a1fe3 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sat, 21 Feb 2015 22:03:34 -0400 Subject: [PATCH] Copy/paste error... --HG-- branch : minor --- src/common/config.h | 2 ++ src/modules/love/love.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/common/config.h b/src/common/config.h index 9a79f4a78..97711306b 100644 --- a/src/common/config.h +++ b/src/common/config.h @@ -128,6 +128,8 @@ # define LOVE_ENABLE_THREAD_SDL # define LOVE_ENABLE_TIMER # define LOVE_ENABLE_TIMER_SDL +# define LOVE_ENABLE_TOUCH +# define LOVE_ENABLE_TOUCH_SDL # define LOVE_ENABLE_UTF8 # define LOVE_ENABLE_WINDOW # define LOVE_ENABLE_WINDOW_SDL diff --git a/src/modules/love/love.cpp b/src/modules/love/love.cpp index f93ffddfa..67a4646b0 100644 --- a/src/modules/love/love.cpp +++ b/src/modules/love/love.cpp @@ -100,7 +100,7 @@ extern "C" #if defined(LOVE_ENABLE_THREAD) extern int luaopen_love_thread(lua_State*); #endif -#if defined(LOVE_ENABLE_THREAD) +#if defined(LOVE_ENABLE_TOUCH) extern int luaopen_love_touch(lua_State*); #endif #if defined(LOVE_ENABLE_WINDOW) @@ -155,7 +155,7 @@ static const luaL_Reg modules[] = { #if defined(LOVE_ENABLE_THREAD) { "love.thread", luaopen_love_thread }, #endif -#if defined(LOVE_ENABLE_THREAD) +#if defined(LOVE_ENABLE_TOUCH) { "love.touch", luaopen_love_touch }, #endif #if defined(LOVE_ENABLE_WINDOW)