aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/beam-parameters.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-12-14 10:53:09 +0100
committerThomas White <taw@physics.org>2012-12-14 10:53:09 +0100
commite745af481e176834e804b2eec59b7170e260ce81 (patch)
tree270c0a6a8db737699fde3f5fe74d1f5877b6d7cc /libcrystfel/src/beam-parameters.c
parent27da7fc3b8c4ae479305d5de996bf8c729fabac3 (diff)
Whitespace
Diffstat (limited to 'libcrystfel/src/beam-parameters.c')
-rw-r--r--libcrystfel/src/beam-parameters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/beam-parameters.c b/libcrystfel/src/beam-parameters.c
index 2e4f5302..2236fddb 100644
--- a/libcrystfel/src/beam-parameters.c
+++ b/libcrystfel/src/beam-parameters.c
@@ -90,7 +90,7 @@ struct beam_params *get_beam_parameters(const char *filename)
} else if ( strcmp(bits[0], "beam/photon_energy") == 0 ) {
if ( strncmp(bits[2], "/", 1) == 0 ) {
b->photon_energy = 0; // 0 means special case
- b->photon_energy_from = strdup(bits[2]);
+ b->photon_energy_from = strdup(bits[2]);
} else {
b->photon_energy = atof(bits[2]);
}