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.zip rockbox-33c44461e1b5fb9aff2f8ba7470ad2449b3c410e.tar.gz rockbox-33c44461e1b5fb9aff2f8ba7470ad2449b3c410e.tar.bz2 rockbox-33c44461e1b5fb9aff2f8ba7470ad2449b3c410e.tar.xz | |
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 50921d0..f9646a0 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -1501,8 +1501,8 @@ int tagtree_enter(struct tree_context* c) !global_settings.party_mode && playlist_modified(NULL)) { - char *lines[]={ID2P(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; - struct text_message message={lines, 1}; + static const char *lines[]={ID2P(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; + static const struct text_message message={lines, 1}; if (gui_syncyesno_run(&message, NULL, NULL) != YESNO_YES) break; |