mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 01:03:14 +02:00
Use of const for some functions returning "char *"
This commit is contained in:
@@ -262,7 +262,7 @@ gui_color_get_number ()
|
||||
* gui_color_get_name: get color name
|
||||
*/
|
||||
|
||||
char *
|
||||
const char *
|
||||
gui_color_get_name (int num_color)
|
||||
{
|
||||
return gui_weechat_colors[num_color].string;
|
||||
|
||||
Reference in New Issue
Block a user