aboutsummaryrefslogtreecommitdiff
path: root/src/cell.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-10-26 15:15:29 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:04 +0100
commit4e014737a3546ab9e999fb47ba7184fcb368a88e (patch)
treec7a13dc8c1340c4dee2fab0ddbbc5d70797e6afd /src/cell.c
parent4384b499f48003b047454612732ec6b70b85199f (diff)
Space group has a maximum of 10 characters
Diffstat (limited to 'src/cell.c')
-rw-r--r--src/cell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cell.c b/src/cell.c
index c07297a5..b6accd58 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -840,7 +840,7 @@ UnitCell *load_cell_from_pdb(const char *filename)
deg2rad(be),
deg2rad(ga));
- sym = strndup(line+55, 11);
+ sym = strndup(line+55, 10);
notrail(sym);
cell_set_pointgroup_from_pdb(cell, sym);
free(sym);