summaryrefslogtreecommitdiff
path: root/src/gui/curses
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-03-07 07:22:31 +0100
committerSébastien Helleu <flashcode@flashtux.org>2024-03-12 20:37:40 +0100
commitc71e6a50eb87bc1546b85e287fce4758f7957e30 (patch)
tree0134213f1bb1351dfb51fbb791edd9f4e7e3ffcd /src/gui/curses
parent4ffd62b2065358ad4aad702d916b0d717453824b (diff)
downloadweechat-c71e6a50eb87bc1546b85e287fce4758f7957e30.zip
core: rename function gui_buffer_search_by_name to gui_buffer_search (issue #2081)
Diffstat (limited to 'src/gui/curses')
-rw-r--r--src/gui/curses/gui-curses-color.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/curses/gui-curses-color.c b/src/gui/curses/gui-curses-color.c
index 8bbcfe048..ee455ad9b 100644
--- a/src/gui/curses/gui-curses-color.c
+++ b/src/gui/curses/gui-curses-color.c
@@ -1297,8 +1297,7 @@ gui_color_buffer_assign ()
{
if (!gui_color_buffer)
{
- gui_color_buffer = gui_buffer_search_by_name (NULL,
- GUI_COLOR_BUFFER_NAME);
+ gui_color_buffer = gui_buffer_search (NULL, GUI_COLOR_BUFFER_NAME);
if (gui_color_buffer)
{
gui_color_buffer->input_callback = &gui_color_buffer_input_cb;