diff options
author | Nils Wallménius <nils@rockbox.org> | 2008-04-26 09:30:24 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2008-04-26 09:30:24 +0000 |
commit | 33c44461e1b5fb9aff2f8ba7470ad2449b3c410e (patch) | |
tree | 4dac157ab03a45868ba75e07af9fb92766fa4ccd /apps/tagtree.c | |
parent | e1bc2d5b71bd424325e852b0ef9a89252dac1471 (diff) | |
download | rockbox-33c44461e1b5fb9aff2f8ba7470ad2449b3c410e.tar.gz 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/tagtree.c')
-rw-r--r-- | apps/tagtree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c index 50921d0baf..f9646a0b00 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c | |||
@@ -1501,8 +1501,8 @@ int tagtree_enter(struct tree_context* c) | |||
1501 | !global_settings.party_mode && | 1501 | !global_settings.party_mode && |
1502 | playlist_modified(NULL)) | 1502 | playlist_modified(NULL)) |
1503 | { | 1503 | { |
1504 | char *lines[]={ID2P(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; | 1504 | static const char *lines[]={ID2P(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; |
1505 | struct text_message message={lines, 1}; | 1505 | static const struct text_message message={lines, 1}; |
1506 | 1506 | ||
1507 | if (gui_syncyesno_run(&message, NULL, NULL) != YESNO_YES) | 1507 | if (gui_syncyesno_run(&message, NULL, NULL) != YESNO_YES) |
1508 | break; | 1508 | break; |