diff options
author | Thomas White <taw@physics.org> | 2014-09-22 18:06:34 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-09-22 18:06:34 +0200 |
commit | f88f11adb68b7b11dbc653543c989108aeb96a8f (patch) | |
tree | fb751819e970dd5a2cfaa8a700dc017175206277 | |
parent | 23e014e8717bcd6e99b4b2f56ddeb2af0273aaf6 (diff) |
Formatting
-rw-r--r-- | libcrystfel/src/detector.c | 5 | ||||
-rw-r--r-- | src/pattern_sim.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index 3cf59786..e5319000 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -1044,8 +1044,7 @@ struct detector *get_detector_geometry(const char *filename, next_instance = det->panels[i].data; - while(next_instance) - { + while ( next_instance ) { next_instance = strstr(next_instance, "%"); if ( next_instance != NULL ) { next_instance += 1*sizeof(char); @@ -1660,7 +1659,7 @@ void mark_resolution_range_as_bad(struct image *image, } -extern int single_panel_data_source (struct detector *det, const char *element) +extern int single_panel_data_source(struct detector *det, const char *element) { int pi; char *first_datafrom = NULL; diff --git a/src/pattern_sim.c b/src/pattern_sim.c index f1892876..14d533c5 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -802,7 +802,7 @@ int main(int argc, char *argv[]) number++; - /* Write the output file */ + /* Write the output file */ hdf5_write_image(filename, &image, NULL); } |