[FarGroup/FarManager] master: LuaFAR: fix the last commit (df838ddb2)

0 views
Skip to first unread message

farg...@farmanager.com

unread,
May 26, 2024, 8:00:50 AMMay 26
to farco...@googlegroups.com
Repository : https://github.com/FarGroup/FarManager
On branch : master
Link : https://github.com/FarGroup/FarManager/commit/df838ddb258556da42c88986f0ba1b673969edec

>---------------------------------------------------------------

commit df838ddb258556da42c88986f0ba1b673969edec
Author: Shmuel Zeigerman <solo...@gmail.com>
Date: Sun May 26 14:45:51 2024 +0300

LuaFAR: fix the last commit


>---------------------------------------------------------------

df838ddb258556da42c88986f0ba1b673969edec
plugins/luamacro/_globalinfo.lua | 2 +-
plugins/luamacro/changelog | 4 ++++
plugins/luamacro/luafar/service.c | 2 +-
plugins/luamacro/luafar/version.h | 2 +-
4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/plugins/luamacro/_globalinfo.lua b/plugins/luamacro/_globalinfo.lua
index 652df1253..bd15531d1 100644
--- a/plugins/luamacro/_globalinfo.lua
+++ b/plugins/luamacro/_globalinfo.lua
@@ -1,6 +1,6 @@
function export.GetGlobalInfo()
return {
- Version = { 3, 0, 0, 837 },
+ Version = { 3, 0, 0, 838 },
MinFarVersion = { 3, 0, 0, 6327 },
Guid = win.Uuid("4EBBEFC8-2084-4B7F-94C0-692CE136894D"),
Title = "LuaMacro",
diff --git a/plugins/luamacro/changelog b/plugins/luamacro/changelog
index 8d3491841..ad51ded31 100644
--- a/plugins/luamacro/changelog
+++ b/plugins/luamacro/changelog
@@ -1,3 +1,7 @@
+shmuel 2024-05-26 14:45:02+03:00 - build 838
+
+1. Fix the last commit.
+
shmuel 2024-05-26 14:21:23+03:00 - build 837

1. LuaFAR: refactoring
diff --git a/plugins/luamacro/luafar/service.c b/plugins/luamacro/luafar/service.c
index 1174ab2a3..771e86087 100644
--- a/plugins/luamacro/luafar/service.c
+++ b/plugins/luamacro/luafar/service.c
@@ -5320,7 +5320,7 @@ static int far_MakeMenuItems(lua_State *L)
if (lua_type(L, -1) != LUA_TSTRING)
luaL_error(L, "tostring() returned a non-string value");

- sprintf(buf_prefix, "%*d%s", maxno, i, delim);
+ sprintf(buf_prefix, "%*d%s ", maxno, i, delim);
start = lua_tolstring(L, -1, &len_arg);
str = (char*) malloc(len_arg + 1);
memcpy(str, start, len_arg + 1);
diff --git a/plugins/luamacro/luafar/version.h b/plugins/luamacro/luafar/version.h
index 777a5adeb..0a42f0562 100644
--- a/plugins/luamacro/luafar/version.h
+++ b/plugins/luamacro/luafar/version.h
@@ -1,3 +1,3 @@
#include <farversion.hpp>

-#define PLUGIN_BUILD 837
+#define PLUGIN_BUILD 838


Reply all
Reply to author
Forward
0 new messages