aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/xds.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libcrystfel/src/xds.c b/libcrystfel/src/xds.c
index a70caaf5..e749eef6 100644
--- a/libcrystfel/src/xds.c
+++ b/libcrystfel/src/xds.c
@@ -400,8 +400,7 @@ static const char *spacegroup_for_lattice(UnitCell *cell)
break;
case L_MONOCLINIC :
- if ( centering != 'P' )
- {
+ if ( centering != 'P' ) {
g = "3";
} else {
g = "5";
@@ -452,7 +451,7 @@ static const char *spacegroup_for_lattice(UnitCell *cell)
}
assert(g != NULL);
- return 0;
+ return g;
}