1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +02:00

Add function buffer_set_pointer in plugin API

This commit is contained in:
Sebastien Helleu
2008-10-22 12:58:05 +02:00
parent 533155816d
commit a965be6802
10 changed files with 67 additions and 50 deletions
+2 -2
View File
@@ -3871,7 +3871,7 @@ weechat_lua_api_buffer_set (lua_State *L)
property = lua_tostring (lua_current_interpreter, -2);
value = lua_tostring (lua_current_interpreter, -1);
weechat_buffer_set (script_str2ptr (buffer), property, (void *)value);
weechat_buffer_set (script_str2ptr (buffer), property, value);
LUA_RETURN_OK;
}
@@ -4530,7 +4530,7 @@ weechat_lua_api_bar_set (lua_State *L)
weechat_buffer_set (script_str2ptr (bar),
property,
(void *)value);
value);
LUA_RETURN_OK;
}