summaryrefslogtreecommitdiff
path: root/dsppreset.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-11 20:55:09 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-11 21:30:40 +0100
commitdfacef3019e560159601c80745f2b88919f65d27 (patch)
tree14fd54c01bf3ba26076c71f3ca09e6f77bbdc5fb /dsppreset.c
parent679daf9907e3ae8bba66fe8a2e5f57a2987130f4 (diff)
fixed few errors reported by cppcheck (thanks to Pavel Roschin)
Diffstat (limited to 'dsppreset.c')
-rw-r--r--dsppreset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dsppreset.c b/dsppreset.c
index 6540ed22..70d5d698 100644
--- a/dsppreset.c
+++ b/dsppreset.c
@@ -56,7 +56,7 @@ dsp_preset_load (const char *fname, ddb_dsp_context_t **head) {
char temp[100];
for (;;) {
// plugin {
- int err = fscanf (fp, "%100s {\n", temp);
+ int err = fscanf (fp, "%99s {\n", temp);
if (err == EOF) {
break;
}