diff --git a/EgtExecutor.rc b/EgtExecutor.rc index eba1d85..b03762b 100644 Binary files a/EgtExecutor.rc and b/EgtExecutor.rc differ diff --git a/LUA_GdbObjAttribs.cpp b/LUA_GdbObjAttribs.cpp index c0eed00..d545c05 100644 --- a/LUA_GdbObjAttribs.cpp +++ b/LUA_GdbObjAttribs.cpp @@ -320,7 +320,12 @@ LuaSetColor( lua_State* L) INTVECTOR vId ; LuaCheckParam( L, 1, vId) Color cCol ; - LuaCheckParam( L, 2, cCol) + if ( ! LuaGetParam( L, 2, cCol)) { + string sColName ; + LuaCheckParam( L, 2, sColName) + if ( ! ExeStdColor( sColName, cCol)) + return luaL_error( L, " Invalid Parameter # 2") ; + } bool bSetAlpha = true ; LuaGetParam( L, 3, bSetAlpha) ; LuaClearStack( L) ;