diff options
Diffstat (limited to 'apps/recorder/radio.c')
-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 0cc85335b0..65b8beb164 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c | |||
@@ -117,7 +117,7 @@ static int find_preset(int freq) | |||
117 | 117 | ||
118 | bool radio_screen(void) | 118 | bool radio_screen(void) |
119 | { | 119 | { |
120 | char buf[128]; | 120 | char buf[MAX_PATH]; |
121 | bool done = false; | 121 | bool done = false; |
122 | int button; | 122 | int button; |
123 | int val; | 123 | int val; |
@@ -248,13 +248,13 @@ bool radio_screen(void) | |||
248 | case BUTTON_F3: | 248 | case BUTTON_F3: |
249 | if(mpeg_status() == MPEG_STATUS_RECORD) | 249 | if(mpeg_status() == MPEG_STATUS_RECORD) |
250 | { | 250 | { |
251 | mpeg_new_file(rec_create_filename()); | 251 | mpeg_new_file(rec_create_filename(buf)); |
252 | update_screen = true; | 252 | update_screen = true; |
253 | } | 253 | } |
254 | else | 254 | else |
255 | { | 255 | { |
256 | have_recorded = true; | 256 | have_recorded = true; |
257 | mpeg_record(rec_create_filename()); | 257 | mpeg_record(rec_create_filename(buf)); |
258 | status_set_playmode(STATUS_RECORD); | 258 | status_set_playmode(STATUS_RECORD); |
259 | update_screen = true; | 259 | update_screen = true; |
260 | } | 260 | } |