summaryrefslogtreecommitdiff
path: root/src/core/wee-config.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-01-27 21:45:49 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-01-28 15:14:24 +0100
commitfbeab26a3510680a5ad1753bf554b70b9a78a336 (patch)
tree9930db9909e86ae01c20ab06aba7b803018a3652 /src/core/wee-config.c
parentc07cf691adb4740759e9fd128a2f6702c912d70f (diff)
downloadweechat-fbeab26a3510680a5ad1753bf554b70b9a78a336.zip
core, plugins: replace calls to string_str(n)cmp by str(n)cmp (issue #1872)
Diffstat (limited to 'src/core/wee-config.c')
-rw-r--r--src/core/wee-config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index b11755eed..72d9ec72c 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -2114,7 +2114,7 @@ config_weechat_layout_read_cb (const void *pointer, void *data,
gui_layout_add (ptr_layout);
}
- if (string_strcmp (ptr_option_name, "buffer") == 0)
+ if (strcmp (ptr_option_name, "buffer") == 0)
{
argv = string_split (value, ";", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
@@ -2133,7 +2133,7 @@ config_weechat_layout_read_cb (const void *pointer, void *data,
string_free_split (argv);
}
}
- else if (string_strcmp (ptr_option_name, "window") == 0)
+ else if (strcmp (ptr_option_name, "window") == 0)
{
argv = string_split (value, ";", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
@@ -2171,7 +2171,7 @@ config_weechat_layout_read_cb (const void *pointer, void *data,
string_free_split (argv);
}
}
- else if (string_strcmp (ptr_option_name, "current") == 0)
+ else if (strcmp (ptr_option_name, "current") == 0)
{
if (config_file_string_to_boolean (value))
gui_layout_current = ptr_layout;