summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-03-12 20:31:02 +0100
committerSébastien Helleu <flashcode@flashtux.org>2016-03-12 20:31:02 +0100
commitb6b0249cac2a2174f19b029007f26b92b594f53e (patch)
tree4ca953de372fa09cdc66dfeb1f27f93a75ee2762 /src/plugins
parent3450bf7c73e0be63bc187aa75ce8ae1e933df861 (diff)
downloadweechat-b6b0249cac2a2174f19b029007f26b92b594f53e.zip
scripts: fix typo in comment
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/plugin-script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/plugin-script.c b/src/plugins/plugin-script.c
index fa5bf85e9..7a33b10e5 100644
--- a/src/plugins/plugin-script.c
+++ b/src/plugins/plugin-script.c
@@ -709,7 +709,7 @@ plugin_script_set_buffer_callbacks (struct t_weechat_plugin *weechat_plugin,
}
/*
- * Removes callbacks for a buffer (called when a buffer is closed by user).
+ * Removes callbacks for a buffer (called when a buffer is closed by user).
*/
void
@@ -781,7 +781,7 @@ plugin_script_remove (struct t_weechat_plugin *weechat_plugin,
/*
* remove same pointers in other callbacks
- * (to not free 2 times with same pointer!)
+ * (to not free two times the same pointer!)
*/
for (ptr_script_cb2 = ptr_script_cb->next_callback; ptr_script_cb2;
ptr_script_cb2 = ptr_script_cb2->next_callback)