From 0303fa76c657f92677f0c982c1c8f4156a28f67e Mon Sep 17 00:00:00 2001 From: Shmuel Zeigerman Date: Sat, 28 Oct 2023 01:18:58 +0300 Subject: [PATCH] Fix build 784 --- plugins/luamacro/_globalinfo.lua | 2 +- plugins/luamacro/changelog | 6 +++++- plugins/luamacro/luafar/service.c | 2 +- plugins/luamacro/luafar/version.h | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/plugins/luamacro/_globalinfo.lua b/plugins/luamacro/_globalinfo.lua index 4673e18e95..2ab4683991 100644 --- a/plugins/luamacro/_globalinfo.lua +++ b/plugins/luamacro/_globalinfo.lua @@ -1,6 +1,6 @@ function export.GetGlobalInfo() return { - Version = { 3, 0, 0, 785 }, + Version = { 3, 0, 0, 786 }, MinFarVersion = { 3, 0, 0, 5171 }, Guid = win.Uuid("4EBBEFC8-2084-4B7F-94C0-692CE136894D"), Title = "LuaMacro", diff --git a/plugins/luamacro/changelog b/plugins/luamacro/changelog index 3d99a02fa1..c49ca4c969 100644 --- a/plugins/luamacro/changelog +++ b/plugins/luamacro/changelog @@ -1,6 +1,10 @@ +shmuel 2023-10-28 01:13:50+03:00 - build 786 + +1. Fix build 784 + shmuel 2023-10-28 01:00:44+03:00 - build 785 -1. Fix the last commit. +1. Fix build 784 shmuel 2023-10-28 00:33:46+03:00 - build 784 diff --git a/plugins/luamacro/luafar/service.c b/plugins/luamacro/luafar/service.c index 2b3cdbafc1..25146b2a8a 100644 --- a/plugins/luamacro/luafar/service.c +++ b/plugins/luamacro/luafar/service.c @@ -3794,7 +3794,7 @@ static intptr_t DoDlgProc(lua_State *L, PSInfo *Info, TDialogData *dd, HANDLE hD if (Msg == DN_INITDIALOG) { lua_pushinteger(L, Msg); //+3 - lua_pushinteger(L, Param1); //+4 + lua_pushinteger(L, Param1 + 1); //+4 lua_rawgeti(L, LUA_REGISTRYINDEX, dd->dataRef); //+5 } else { diff --git a/plugins/luamacro/luafar/version.h b/plugins/luamacro/luafar/version.h index 6d57d19fe7..14971ef4b5 100644 --- a/plugins/luamacro/luafar/version.h +++ b/plugins/luamacro/luafar/version.h @@ -1,3 +1,3 @@ #include -#define PLUGIN_BUILD 785 +#define PLUGIN_BUILD 786