1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 08:13:14 +02:00

core: fix type of value returned by function gui_bar_window_content_get

This commit is contained in:
Sébastien Helleu
2015-07-05 08:32:43 +02:00
parent eb080261f8
commit b2f0cc30ff
+3 -2
View File
@@ -647,7 +647,7 @@ gui_bar_window_content_build (struct t_gui_bar_window *bar_window,
* Gets item or subitem content (first rebuilds content if refresh is needed).
*/
char *
const char *
gui_bar_window_content_get (struct t_gui_bar_window *bar_window,
struct t_gui_window *window,
int index_item, int index_subitem)
@@ -678,7 +678,8 @@ gui_bar_window_content_get_with_filling (struct t_gui_bar_window *bar_window,
struct t_gui_window *window)
{
enum t_gui_bar_filling filling;
char *ptr_content, *content, *content2, str_reinit_color[32];
const char *ptr_content;
char *content, *content2, str_reinit_color[32];
char str_reinit_color_space[32], str_reinit_color_space_start_line[32];
char str_start_item[32];
char *item_value, *item_value2, ****split_items, **linear_items;