From 33c44461e1b5fb9aff2f8ba7470ad2449b3c410e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Sat, 26 Apr 2008 09:30:24 +0000 Subject: 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 --- apps/recorder/radio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/recorder') 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]); -- cgit v1.2.3