summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/wavrecord.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/wavrecord.c b/apps/plugins/wavrecord.c
index 5cdf4fdb29..f7467b5b5e 100644
--- a/apps/plugins/wavrecord.c
+++ b/apps/plugins/wavrecord.c
@@ -3669,7 +3669,7 @@ static int record_file(char *filename)
3669 if (sampr[i][0] == mas) 3669 if (sampr[i][0] == mas)
3670 break; 3670 break;
3671 } 3671 }
3672 if (!(update_wav_header(filename, sampr[i][1], 3672 if (i == 9 || !(update_wav_header(filename, sampr[i][1],
3673 (reccfg.channels + 1), bytes_written))) 3673 (reccfg.channels + 1), bytes_written)))
3674 { 3674 {
3675 rb->splash(HZ, "Updating WAV header failed"); 3675 rb->splash(HZ, "Updating WAV header failed");