diff options
-rw-r--r-- | apps/recorder/radio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index cf305caea2..ae534aca61 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c | |||
@@ -1076,7 +1076,7 @@ void radio_load_presets(char *filename) | |||
1076 | 1076 | ||
1077 | static int radio_add_preset(void) | 1077 | static int radio_add_preset(void) |
1078 | { | 1078 | { |
1079 | char buf[MAX_FMPRESET_LEN]; | 1079 | char buf[MAX_FMPRESET_LEN + 1]; |
1080 | 1080 | ||
1081 | if(num_presets < MAX_PRESETS) | 1081 | if(num_presets < MAX_PRESETS) |
1082 | { | 1082 | { |