mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 15:53:12 +02:00
Fix typo: splited/splitted -> split
This commit is contained in:
@@ -344,7 +344,7 @@ alias_cb (void *data, struct t_gui_buffer *buffer, int argc, char **argv,
|
||||
}
|
||||
}
|
||||
ptr_alias->running = 0;
|
||||
weechat_string_free_splitted_command (commands);
|
||||
weechat_string_free_split_command (commands);
|
||||
}
|
||||
}
|
||||
return WEECHAT_RC_OK;
|
||||
|
||||
@@ -2473,7 +2473,7 @@ irc_protocol_cmd_001 (struct t_irc_server *server, const char *command,
|
||||
if (vars_replaced)
|
||||
free (vars_replaced);
|
||||
}
|
||||
weechat_string_free_splitted_command (commands);
|
||||
weechat_string_free_split_command (commands);
|
||||
}
|
||||
|
||||
if (IRC_SERVER_OPTION_INTEGER(server, IRC_SERVER_OPTION_COMMAND_DELAY) > 0)
|
||||
|
||||
@@ -368,7 +368,7 @@ plugin_load (const char *filename)
|
||||
new_plugin->string_free_exploded = &string_free_exploded;
|
||||
new_plugin->string_build_with_exploded = &string_build_with_exploded;
|
||||
new_plugin->string_split_command = &string_split_command;
|
||||
new_plugin->string_free_splitted_command = &string_free_splitted_command;
|
||||
new_plugin->string_free_split_command = &string_free_split_command;
|
||||
new_plugin->string_format_size = &string_format_size;
|
||||
new_plugin->string_remove_color = &gui_color_decode;
|
||||
|
||||
|
||||
@@ -367,7 +367,7 @@ c_split_multi_command (char *command, char sep)
|
||||
}
|
||||
|
||||
/*
|
||||
* c_free_multi_command : free a list of commands splitted
|
||||
* c_free_multi_command : free a list of commands split
|
||||
* with split_multi_command
|
||||
*/
|
||||
|
||||
|
||||
@@ -165,7 +165,7 @@ struct t_weechat_plugin
|
||||
char *(*string_build_with_exploded) (const char **exploded_string,
|
||||
const char *separator);
|
||||
char **(*string_split_command) (const char *command, char separator);
|
||||
void (*string_free_splitted_command) (char **splitted_command);
|
||||
void (*string_free_split_command) (char **split_command);
|
||||
char *(*string_format_size) (unsigned long size);
|
||||
char *(*string_remove_color) (const char *string, const char *replacement);
|
||||
|
||||
@@ -695,8 +695,8 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin);
|
||||
__separator)
|
||||
#define weechat_string_split_command(__command, __separator) \
|
||||
weechat_plugin->string_split_command(__command, __separator)
|
||||
#define weechat_string_free_splitted_command(__splitted_command) \
|
||||
weechat_plugin->string_free_splitted_command(__splitted_command)
|
||||
#define weechat_string_free_split_command(__split_command) \
|
||||
weechat_plugin->string_free_split_command(__split_command)
|
||||
#define weechat_string_format_size(__size) \
|
||||
weechat_plugin->string_format_size(__size)
|
||||
#define weechat_string_remove_color(__string, __replacement) \
|
||||
|
||||
Reference in New Issue
Block a user