From 4d72947ddfbe00c6a618c370c8458c605221701b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 29 Jun 2011 11:06:09 +0200 Subject: General fussiness --- src/indexamajig.c | 6 +----- src/stream.c | 8 ++++---- 2 files changed, 5 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/indexamajig.c b/src/indexamajig.c index 49c7118e..00a7e3e8 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -315,11 +315,7 @@ static void process_image(void *pp, int cookie) if ( image.indexed_cell != NULL ) pargs->indexable = 1; - /* Measure intensities if requested */ - - /* Do EITHER: */ - - + /* Measure intensities */ if ( image.indexed_cell != NULL ) { image.div = beam->divergence; diff --git a/src/stream.c b/src/stream.c index e3bc3c87..54c31050 100644 --- a/src/stream.c +++ b/src/stream.c @@ -234,7 +234,7 @@ void write_chunk(FILE *ofh, struct image *i, int f) fprintf(ofh, "bstar = %+9.7f %+9.7f %+9.7f nm^-1\n", bsx/1e9, bsy/1e9, bsz/1e9); fprintf(ofh, "cstar = %+9.7f %+9.7f %+9.7f nm^-1\n", - csx/1e9, csy/1e9, csz/1e9); + csx/1e9, csy/1e9, csz/1e9); } else { @@ -452,12 +452,12 @@ int skip_some_files(FILE *fh, int n) } int is_stream(const char *filename) { - FILE *fh; + FILE *fh; char line[1024]; - char *rval = NULL; + char *rval = NULL; fh = fopen(filename, "r"); rval = fgets(line, 1023, fh); - fclose(fh); + fclose(fh); if ( rval == NULL ) { return -1; } -- cgit v1.2.3