summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2024-02-22 19:47:07 +0100
committerSébastien Helleu <flashcode@flashtux.org>2024-02-23 08:21:49 +0100
commite02ee703f0017f956a3727a6bd9b515e293689ce (patch)
treecace61c81a318397645187de692bfa3b9f276918 /src
parent27331dec5e10579316be39e973218047e39eef5b (diff)
downloadweechat-e02ee703f0017f956a3727a6bd9b515e293689ce.zip
docs: fix some typos in documentation and comments
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-string.c2
-rw-r--r--src/plugins/buflist/buflist-bar-item.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-string.c b/src/core/wee-string.c
index 72a826502..60457d516 100644
--- a/src/core/wee-string.c
+++ b/src/core/wee-string.c
@@ -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
diff --git a/src/plugins/buflist/buflist-bar-item.c b/src/plugins/buflist/buflist-bar-item.c
index c41b19cbb..b66fba4be 100644
--- a/src/plugins/buflist/buflist-bar-item.c
+++ b/src/plugins/buflist/buflist-bar-item.c
@@ -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 *