From 698402c50ee46bae40d0761c8fe1f3f6176e3041 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 19 Nov 2014 11:11:25 +0100 Subject: Formatting, and fix a comment --- libcrystfel/src/stream.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index 27b1abc1..2d4d6260 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -97,7 +97,7 @@ static int read_peaks(FILE *fh, struct image *image) first = 0; if ( r == 4 ) { image_add_feature(image->features, x, y, - image, intensity, NULL); + image, intensity, NULL); } } while ( rval != NULL ); @@ -250,7 +250,8 @@ static RefList *read_stream_reflections_2_3(FILE *fh, struct detector *det) if ( strcmp(line, REFLECTION_END_MARKER) == 0 ) return out; r = sscanf(line, "%i %i %i %f %f %f %f %f %f %s", - &h, &k, &l, &intensity, &sigma, &pk, &bg, &fs, &ss, pn); + &h, &k, &l, &intensity, &sigma, &pk, &bg, + &fs, &ss, pn); if ( (r != 10) && (!first) ) { reflist_free(out); @@ -384,7 +385,7 @@ static RefList *read_stream_reflections_2_2(FILE *fh) } while ( rval != NULL ); - /* Got read error of some kind before finding PEAK_LIST_END_MARKER */ + /* Got read error of some kind before finding REFLECTION_END_MARKER */ return NULL; } -- cgit v1.2.3