aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-09-22 18:06:34 +0200
committerThomas White <taw@physics.org>2014-09-22 18:06:34 +0200
commitf88f11adb68b7b11dbc653543c989108aeb96a8f (patch)
treefb751819e970dd5a2cfaa8a700dc017175206277 /libcrystfel
parent23e014e8717bcd6e99b4b2f56ddeb2af0273aaf6 (diff)
Formatting
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/detector.c5
1 files changed, 2 insertions, 3 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;