summaryrefslogtreecommitdiff
path: root/src/core/wee-config-file.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-03-19 23:33:14 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-03-19 23:33:14 +0100
commit2801b8437c0ee1c529244c1b7f7a6603e029a5a5 (patch)
tree506e97763d6dadc664a3811b600a0f2890cc0b4b /src/core/wee-config-file.c
parentbc3fa9fd4cddd24d066b60f11c08d3c8e5ff1e61 (diff)
downloadweechat-2801b8437c0ee1c529244c1b7f7a6603e029a5a5.zip
Reformat multi-line comments
Diffstat (limited to 'src/core/wee-config-file.c')
-rw-r--r--src/core/wee-config-file.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/wee-config-file.c b/src/core/wee-config-file.c
index 7d87b8a2e..cd146bfb7 100644
--- a/src/core/wee-config-file.c
+++ b/src/core/wee-config-file.c
@@ -1294,7 +1294,7 @@ config_file_option_set (struct t_config_option *option, const char *value,
rc = WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE;
}
- /* run callback if asked and value was changed */
+ /* run callback if asked and value was changed */
if ((rc == WEECHAT_CONFIG_OPTION_SET_OK_CHANGED)
&& run_callback && option->callback_change)
{
@@ -1344,7 +1344,7 @@ config_file_option_set_null (struct t_config_option *option, int run_callback)
}
}
- /* run callback if asked and value was changed */
+ /* run callback if asked and value was changed */
if ((rc == WEECHAT_CONFIG_OPTION_SET_OK_CHANGED)
&& run_callback && option->callback_change)
{
@@ -1892,8 +1892,10 @@ config_file_write_internal (struct t_config_file *config_file,
snprintf (filename, filename_length, "%s%s%s",
weechat_home, DIR_SEPARATOR, config_file->filename);
- /* build temporary filename, this temp file will be renamed to filename
- after write */
+ /*
+ * build temporary filename, this temp file will be renamed to filename
+ * after write
+ */
filename2 = malloc (filename_length + 32);
if (!filename2)
{