summaryrefslogtreecommitdiffstats
path: root/apps/gui/textarea.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2008-04-26 09:30:24 +0000
committerNils Wallménius <nils@rockbox.org>2008-04-26 09:30:24 +0000
commit33c44461e1b5fb9aff2f8ba7470ad2449b3c410e (patch)
tree4dac157ab03a45868ba75e07af9fb92766fa4ccd /apps/gui/textarea.c
parente1bc2d5b71bd424325e852b0ef9a89252dac1471 (diff)
downloadrockbox-33c44461e1b5fb9aff2f8ba7470ad2449b3c410e.tar.gz
rockbox-33c44461e1b5fb9aff2f8ba7470ad2449b3c410e.tar.bz2
rockbox-33c44461e1b5fb9aff2f8ba7470ad2449b3c410e.zip
Const police raid, making a lot of pointers to lang strings const and removing some ugly casting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17251 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/textarea.c')
-rw-r--r--apps/gui/textarea.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/textarea.c b/apps/gui/textarea.c
index b30667df4e..dcffd0e621 100644
--- a/apps/gui/textarea.c
+++ b/apps/gui/textarea.c
@@ -47,7 +47,7 @@ void gui_textarea_update(struct screen * display)
}
int gui_textarea_put_message(struct screen * display,
- struct text_message * message,
+ const struct text_message * message,
int ystart)
{
int i;
@@ -78,7 +78,7 @@ void gui_textarea_update_nblines(struct screen * display)
display->nb_lines = height / display->char_height;
}
-void talk_text_message(struct text_message * message, bool enqueue)
+void talk_text_message(const struct text_message * message, bool enqueue)
{
int line;
if(message)