diff options
author | John Tytgat <joty@netsurf-browser.org> | 2008-08-05 01:23:04 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2008-08-05 01:23:04 +0000 |
commit | c40fc354b3783502ce0c9be1629380acb10c0570 (patch) | |
tree | 27076646b9e6041439a5e082b1cb99d67045b0ac /riscos/query.c | |
parent | 039362166c2d31dd23931332b6af94bf274d2635 (diff) | |
download | netsurf-c40fc354b3783502ce0c9be1629380acb10c0570.tar.gz netsurf-c40fc354b3783502ce0c9be1629380acb10c0570.tar.bz2 |
- Teached ro_gui_set_icon_string() and ro_gui_get_icon_string() about the difference between direct and indirect icons.
- ro_gui_get_icon_string():
- Constify return value of ro_gui_get_icon_string() as you really shouldn't change its contents via this pointer.
- Enfore NUL string termination as return value (instead of other control char termination)
- Merged ro_gui_set_icon_string_le() into ro_gui_set_icon_string() by adding ro_gui_set_icon_string() and extra to_utf8 parameter.
- ro_gui_strncmp(): added
svn path=/trunk/netsurf/; revision=4907
Diffstat (limited to 'riscos/query.c')
-rw-r--r-- | riscos/query.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/riscos/query.c b/riscos/query.c index 7c284ddce..afab8b185 100644 --- a/riscos/query.c +++ b/riscos/query.c @@ -208,7 +208,8 @@ query_id query_user(const char *query, const char *detail, messages_get(query), detail ? detail : ""); query_buffer[sizeof query_buffer - 1] = 0; - ro_gui_set_icon_string(qw->window, ICON_QUERY_MESSAGE, query_buffer); + ro_gui_set_icon_string(qw->window, ICON_QUERY_MESSAGE, + query_buffer, true); xwimp_set_icon_state(qw->window, ICON_QUERY_HELP, wimp_ICON_DELETED, wimp_ICON_DELETED); |