diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-03-04 07:40:07 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-03-04 07:40:07 +0100 |
commit | c0a27cf437a4ecaca9f5124af1d886be6b2f2935 (patch) | |
tree | 480987704a38f49d48495103665cab1164f2457d /src/plugins/tcl | |
parent | 3eb6cd3cd92928c907b4d19947ecc51d4b7b28a7 (diff) | |
download | weechat-c0a27cf437a4ecaca9f5124af1d886be6b2f2935.zip |
scripts: fix name of variables in infolist API functions
Diffstat (limited to 'src/plugins/tcl')
-rw-r--r-- | src/plugins/tcl/weechat-tcl-api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/tcl/weechat-tcl-api.c b/src/plugins/tcl/weechat-tcl-api.c index f119d4dac..03b7ecfa5 100644 --- a/src/plugins/tcl/weechat-tcl-api.c +++ b/src/plugins/tcl/weechat-tcl-api.c @@ -4467,7 +4467,7 @@ API_FUNC(infolist_new_var_integer) if (Tcl_GetIntFromObj (interp, objv[3], &value) != TCL_OK) API_WRONG_ARGS(API_RETURN_EMPTY); - result = API_PTR2STR(weechat_infolist_new_var_integer (API_STR2PTR(Tcl_GetStringFromObj (objv[1], &i)), /* infolist */ + result = API_PTR2STR(weechat_infolist_new_var_integer (API_STR2PTR(Tcl_GetStringFromObj (objv[1], &i)), /* item */ Tcl_GetStringFromObj (objv[2], &i), /* name */ value)); @@ -4484,7 +4484,7 @@ API_FUNC(infolist_new_var_string) if (objc < 4) API_WRONG_ARGS(API_RETURN_EMPTY); - result = API_PTR2STR(weechat_infolist_new_var_string (API_STR2PTR(Tcl_GetStringFromObj (objv[1], &i)), /* infolist */ + result = API_PTR2STR(weechat_infolist_new_var_string (API_STR2PTR(Tcl_GetStringFromObj (objv[1], &i)), /* item */ Tcl_GetStringFromObj (objv[2], &i), /* name */ Tcl_GetStringFromObj (objv[3], &i))); /* value */ @@ -4501,7 +4501,7 @@ API_FUNC(infolist_new_var_pointer) if (objc < 4) API_WRONG_ARGS(API_RETURN_EMPTY); - result = API_PTR2STR(weechat_infolist_new_var_pointer (API_STR2PTR(Tcl_GetStringFromObj (objv[1], &i)), /* infolist */ + result = API_PTR2STR(weechat_infolist_new_var_pointer (API_STR2PTR(Tcl_GetStringFromObj (objv[1], &i)), /* item */ Tcl_GetStringFromObj (objv[2], &i), /* name */ API_STR2PTR(Tcl_GetStringFromObj (objv[3], &i)))); /* value */ @@ -4521,7 +4521,7 @@ API_FUNC(infolist_new_var_time) if (Tcl_GetIntFromObj (interp, objv[3], &value) != TCL_OK) API_WRONG_ARGS(API_RETURN_EMPTY); - result = API_PTR2STR(weechat_infolist_new_var_time (API_STR2PTR(Tcl_GetStringFromObj (objv[1], &i)), /* infolist */ + result = API_PTR2STR(weechat_infolist_new_var_time (API_STR2PTR(Tcl_GetStringFromObj (objv[1], &i)), /* item */ Tcl_GetStringFromObj (objv[2], &i), /* name */ value)); |