1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

docs: fix some typos in documentation and comments

This commit is contained in:
Trygve Aaberge
2024-02-22 19:47:07 +01:00
committed by Sébastien Helleu
parent 27331dec5e
commit e02ee703f0
7 changed files with 37 additions and 37 deletions
+7 -7
View File
@@ -15266,13 +15266,13 @@ Prototype:
[source,c]
----
struct t_gui_nick_group *weechat_nicklist_add_nick (struct t_gui_buffer *buffer,
struct t_gui_nick_group *group,
const char *name,
const char *color,
const char *prefix,
const char *prefix_color,
int visible);
struct t_gui_nick *weechat_nicklist_add_nick (struct t_gui_buffer *buffer,
struct t_gui_nick_group *group,
const char *name,
const char *color,
const char *prefix,
const char *prefix_color,
int visible);
----
Arguments:
+7 -7
View File
@@ -15606,13 +15606,13 @@ Prototype :
[source,c]
----
struct t_gui_nick_group *weechat_nicklist_add_nick (struct t_gui_buffer *buffer,
struct t_gui_nick_group *group,
const char *name,
const char *color,
const char *prefix,
const char *prefix_color,
int visible);
struct t_gui_nick *weechat_nicklist_add_nick (struct t_gui_buffer *buffer,
struct t_gui_nick_group *group,
const char *name,
const char *color,
const char *prefix,
const char *prefix_color,
int visible);
----
Paramètres :
+7 -7
View File
@@ -15997,13 +15997,13 @@ Prototipo:
[source,c]
----
struct t_gui_nick_group *weechat_nicklist_add_nick (struct t_gui_buffer *buffer,
struct t_gui_nick_group *group,
const char *name,
const char *color,
const char *prefix,
const char *prefix_color,
int visible);
struct t_gui_nick *weechat_nicklist_add_nick (struct t_gui_buffer *buffer,
struct t_gui_nick_group *group,
const char *name,
const char *color,
const char *prefix,
const char *prefix_color,
int visible);
----
Argomenti:
+7 -7
View File
@@ -15490,13 +15490,13 @@ group = weechat.nicklist_search_group(my_buffer, "", "test_group")
[source,c]
----
struct t_gui_nick_group *weechat_nicklist_add_nick (struct t_gui_buffer *buffer,
struct t_gui_nick_group *group,
const char *name,
const char *color,
const char *prefix,
const char *prefix_color,
int visible);
struct t_gui_nick *weechat_nicklist_add_nick (struct t_gui_buffer *buffer,
struct t_gui_nick_group *group,
const char *name,
const char *color,
const char *prefix,
const char *prefix_color,
int visible);
----
引数:
+7 -7
View File
@@ -14791,13 +14791,13 @@ group = weechat.nicklist_search_group(my_buffer, "", "test_group")
[source,c]
----
struct t_gui_nick_group *weechat_nicklist_add_nick (struct t_gui_buffer *buffer,
struct t_gui_nick_group *group,
const char *name,
const char *color,
const char *prefix,
const char *prefix_color,
int visible);
struct t_gui_nick *weechat_nicklist_add_nick (struct t_gui_buffer *buffer,
struct t_gui_nick_group *group,
const char *name,
const char *color,
const char *prefix,
const char *prefix_color,
int visible);
----
Аргументи:
+1 -1
View File
@@ -2244,7 +2244,7 @@ string_translate_chars (const char *string,
* num_items: if not NULL, the variable is set with the number of items
* returned
* shared: 1 if the strings are "shared strings" (created with the function
* string_share_get), otherwise 0 for allocated strings
* string_shared_get), otherwise 0 for allocated strings
*
* The flags is a combination of flags:
* - WEECHAT_STRING_SPLIT_STRIP_LEFT: strip separators on the left
+1 -1
View File
@@ -298,7 +298,7 @@ buflist_bar_item_auto_scroll (const char *item_name, int line_number)
}
/*
* Returns content of bar item "buffer_plugin": bar item with buffer plugin.
* Returns the content of the bar item.
*/
char *