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/recorder | |
parent | e1bc2d5b71bd424325e852b0ef9a89252dac1471 (diff) |
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/recorder')
-rw-r--r-- | apps/recorder/radio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index e103c6bc82..522f1dac93 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c @@ -136,11 +136,11 @@ static int scan_presets(void); /* Function to manipulate all yesno dialogues. This function needs the output text as an argument. */ -static bool yesno_pop(char* text) +static bool yesno_pop(const char* text) { int i; - char *lines[]={text}; - struct text_message message={lines, 1}; + const char *lines[]={text}; + const struct text_message message={lines, 1}; bool ret = (gui_syncyesno_run(&message,NULL,NULL)== YESNO_YES); FOR_NB_SCREENS(i) gui_textarea_clear(&screens[i]); |