diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-15 22:35:12 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-15 22:35:12 +0100 |
commit | 8724fc18afa1d2702eeed9aa6e7d825d25cbda98 (patch) | |
tree | 735f8d09799db47ff387129bb8613e940bb4fbf7 /src/gui/curses | |
parent | e1d639d7ebbea6cf1c28e6d3cba284f5a3562dac (diff) | |
download | weechat-8724fc18afa1d2702eeed9aa6e7d825d25cbda98.zip |
Use of const for some functions returning "char *"
Diffstat (limited to 'src/gui/curses')
-rw-r--r-- | src/gui/curses/gui-curses-color.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-color.c b/src/gui/curses/gui-curses-color.c index a22553e93..4c7574733 100644 --- a/src/gui/curses/gui-curses-color.c +++ b/src/gui/curses/gui-curses-color.c @@ -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; |