summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/radio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index cf305ca..ae534ac 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -1076,7 +1076,7 @@ void radio_load_presets(char *filename)
static int radio_add_preset(void)
{
- char buf[MAX_FMPRESET_LEN];
+ char buf[MAX_FMPRESET_LEN + 1];
if(num_presets < MAX_PRESETS)
{