aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/detector.c5
-rw-r--r--src/pattern_sim.c2
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);
}