diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-02-18 18:24:19 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-02-18 18:24:19 +0100 |
commit | 780be1e1b7852f38028e0ffe2db54ac8c1506a14 (patch) | |
tree | 7543bcdd20d24e9be5260d6234d1ba22a8ebf817 /src/plugins/relay | |
parent | 4858d88567875afddef39e6167431384838854fe (diff) | |
download | weechat-780be1e1b7852f38028e0ffe2db54ac8c1506a14.zip |
relay/api: rename key "index" to "y" in line object
Diffstat (limited to 'src/plugins/relay')
-rw-r--r-- | src/plugins/relay/api/relay-api-msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/relay/api/relay-api-msg.c b/src/plugins/relay/api/relay-api-msg.c index 930603f26..3b9130cb8 100644 --- a/src/plugins/relay/api/relay-api-msg.c +++ b/src/plugins/relay/api/relay-api-msg.c @@ -413,7 +413,7 @@ relay_api_msg_line_data_to_json (struct t_gui_line_data *line_data, return json; MSG_ADD_HDATA_VAR(Number, "id", integer, "id"); - MSG_ADD_HDATA_VAR(Number, "index", integer, "y"); + MSG_ADD_HDATA_VAR(Number, "y", integer, "y"); MSG_ADD_HDATA_TIME_USEC("date", "date", "date_usec"); MSG_ADD_HDATA_TIME_USEC("date_printed", "date_printed", "date_usec_printed"); MSG_ADD_HDATA_VAR(Bool, "highlight", char, "highlight"); |