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/gui-buffer.c | |
parent | e1d639d7ebbea6cf1c28e6d3cba284f5a3562dac (diff) | |
download | weechat-8724fc18afa1d2702eeed9aa6e7d825d25cbda98.zip |
Use of const for some functions returning "char *"
Diffstat (limited to 'src/gui/gui-buffer.c')
-rw-r--r-- | src/gui/gui-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c index 6ebb44ea8..50435adcd 100644 --- a/src/gui/gui-buffer.c +++ b/src/gui/gui-buffer.c @@ -539,7 +539,7 @@ gui_buffer_get_integer (struct t_gui_buffer *buffer, const char *property) * gui_buffer_get_string: get a buffer property as string */ -char * +const char * gui_buffer_get_string (struct t_gui_buffer *buffer, const char *property) { struct t_gui_buffer_local_var *ptr_local_var; |