From 68dd07328247a15e56e3008771ea1d4cde971350 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Tue, 26 Sep 2006 04:06:03 +0000 Subject: [PATCH] Pasting "PlayMode_" and "Index" does not make a valid preprocessing token. --- stepmania/src/EnumHelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/EnumHelper.h b/stepmania/src/EnumHelper.h index d1cd5b61b8..d4ad6e91d2 100644 --- a/stepmania/src/EnumHelper.h +++ b/stepmania/src/EnumHelper.h @@ -179,7 +179,7 @@ static void Lua2##X(lua_State* L) \ lua_rawset( L, -3 ); \ } \ EnumTraits::StringToEnum.PushSelf( L ); \ - lua_setglobal( L, #X##"Index" ); \ + lua_setglobal( L, #X "Index" ); \ EnumTraits::StringToEnum.SetFromStack( L ); \ } \ REGISTER_WITH_LUA_FUNCTION( Lua2##X ); \