mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 22:06:38 +02:00
guile: fix crash in function hdata_move
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.4.1-dev, 2013-04-18
|
||||
v0.4.1-dev, 2013-04-20
|
||||
|
||||
|
||||
This document lists all changes for each version.
|
||||
@@ -44,6 +44,7 @@ Version 0.4.1 (under dev!)
|
||||
* aspell: add completion "aspell_dicts" (list of aspell installed dictionaries)
|
||||
* aspell: add info "aspell_dict" (dictionaries used on a buffer)
|
||||
* aspell: optimization on spellers to improve speed (save state by buffer)
|
||||
* guile: fix crash in function hdata_move
|
||||
* guile: fix arguments given to callbacks (separate arguments instead of one
|
||||
list with arguments inside), guile >= 2.0 is now required (bug #38350)
|
||||
* guile: fix crash on calls to callbacks during load of script (bug #38343)
|
||||
|
||||
@@ -4256,9 +4256,9 @@ weechat_guile_api_hdata_move (SCM hdata, SCM pointer, SCM count)
|
||||
|| !scm_is_integer (count))
|
||||
API_WRONG_ARGS(API_RETURN_EMPTY);
|
||||
|
||||
result = weechat_hdata_move (API_STR2PTR(API_SCM_TO_STRING(hdata)),
|
||||
API_STR2PTR(API_SCM_TO_STRING(pointer)),
|
||||
scm_to_int (count));
|
||||
result = API_PTR2STR(weechat_hdata_move (API_STR2PTR(API_SCM_TO_STRING(hdata)),
|
||||
API_STR2PTR(API_SCM_TO_STRING(pointer)),
|
||||
scm_to_int (count)));
|
||||
|
||||
API_RETURN_STRING_FREE(result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user