From 70174bff47432a3b63335b8205623757361d3191 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Sun, 30 Sep 2012 16:25:29 +0100 Subject: [PATCH] Set appropriate default values for some static Lua interface variables --- src/cat/LuaScriptInterface.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp index dda8d9570..fc00e246e 100644 --- a/src/cat/LuaScriptInterface.cpp +++ b/src/cat/LuaScriptInterface.cpp @@ -61,11 +61,11 @@ std::string *luacon_lastError; int *lua_el_func, *lua_el_mode, *lua_gr_func; int getPartIndex_curIdx; -int step_functions[6];//[6] = {0, 0, 0, 0, 0, 0}; -int keypress_function_count;// = 0; -int *keypress_functions;// = NULL; -int mouseclick_function_count;// = 0; -int *mouseclick_functions;// = NULL; +int step_functions[6] = {0, 0, 0, 0, 0, 0}; +int keypress_function_count = 0; +int *keypress_functions = NULL; +int mouseclick_function_count = 0; +int *mouseclick_functions = NULL; int tptProperties; //Table for some TPT properties int tptPropertiesVersion; int tptElements; //Table for TPT element names