diff options
Diffstat (limited to 'xicc/mpplu.c')
-rw-r--r-- | xicc/mpplu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xicc/mpplu.c b/xicc/mpplu.c index dcbd1c3..a2bb9ad 100644 --- a/xicc/mpplu.c +++ b/xicc/mpplu.c @@ -348,7 +348,7 @@ main(int argc, char *argv[]) { continue; } /* For each input number */ - for (bp = buf-1, nbp = buf, i = 0; i < MAX_CHAN; i++) { + for (nbp = buf, i = 0; i < MAX_CHAN; i++) { bp = nbp; in[i] = strtod(bp, &nbp); if (nbp == bp) @@ -468,7 +468,7 @@ main(int argc, char *argv[]) { continue; } /* For each input number */ - for (bp = buf-1, nbp = buf, i = 0; i < MAX_CHAN; i++) { + for (nbp = buf, i = 0; i < MAX_CHAN; i++) { bp = nbp; in[i] = strtod(bp, &nbp); if (nbp == bp) |