diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/qdrp.c | 1 | ||||
-rw-r--r-- | src/readpng.c | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -109,6 +109,7 @@ static int qdrp_parseline(ControlContext *ctx, const char *line) { } ctx->started = 1; + ctx->fmode = FORMULATION_CLEN; } diff --git a/src/readpng.c b/src/readpng.c index d310abb..8b70f8e 100644 --- a/src/readpng.c +++ b/src/readpng.c @@ -109,7 +109,6 @@ int readpng_read(const char *filename, double tilt, ControlContext *ctx) { row_pointers = png_get_rows(png_ptr, info_ptr); image = malloc(height * width * sizeof(uint16_t)); - ctx->fmode = FORMULATION_CLEN; for ( y=0; y<height; y++ ) { for ( x=0; x<width; x++ ) { |