diff options
author | Thomas White <taw27@cam.ac.uk> | 2008-11-04 10:45:45 +0000 |
---|---|---|
committer | Thomas White <taw27@cam.ac.uk> | 2008-11-04 10:45:45 +0000 |
commit | 7f9598627f9adc48cb0d822c4434b54a9b7edeb4 (patch) | |
tree | 448e4f34daf5a08a6b50fba6699427b07003ecc5 | |
parent | f045c2024eca9e51e4a7d8e876d71e7b48efb48a (diff) |
Set formulation mode for QDRP series in a more sensible place
-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++ ) { |