summaryrefslogtreecommitdiff
path: root/apps/radio/presets.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/radio/presets.c')
-rw-r--r--apps/radio/presets.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/radio/presets.c b/apps/radio/presets.c
index 98a33d14ad..acd6dc8711 100644
--- a/apps/radio/presets.c
+++ b/apps/radio/presets.c
@@ -277,7 +277,7 @@ int handle_radio_add_preset(void)
277 { 277 {
278 buf[0] = '\0'; 278 buf[0] = '\0';
279 279
280 if (!kbd_input(buf, MAX_FMPRESET_LEN + 1)) 280 if (!kbd_input(buf, MAX_FMPRESET_LEN + 1, NULL))
281 { 281 {
282 struct fmstation * const fms = &presets[num_presets]; 282 struct fmstation * const fms = &presets[num_presets];
283 strcpy(fms->name, buf); 283 strcpy(fms->name, buf);
@@ -307,7 +307,7 @@ static int radio_edit_preset(void)
307 307
308 strcpy(buf, fms->name); 308 strcpy(buf, fms->name);
309 309
310 if (!kbd_input(buf, MAX_FMPRESET_LEN + 1)) 310 if (!kbd_input(buf, MAX_FMPRESET_LEN + 1, NULL))
311 { 311 {
312 strcpy(fms->name, buf); 312 strcpy(fms->name, buf);
313 presets_changed = true; 313 presets_changed = true;
@@ -372,7 +372,7 @@ int preset_list_save(void)
372 372
373 while(bad_file_name) 373 while(bad_file_name)
374 { 374 {
375 if(!kbd_input(filepreset, sizeof(filepreset))) 375 if(!kbd_input(filepreset, sizeof(filepreset), NULL))
376 { 376 {
377 /* check the name: max MAX_FILENAME (20) chars */ 377 /* check the name: max MAX_FILENAME (20) chars */
378 char* p2; 378 char* p2;