aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-02-20 15:16:26 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:45 +0100
commit053027a0e916d4f42d9beab533c9d64f8394d963 (patch)
tree13122748eb2c075d3e86ff357b93c528d05c9c5c /src
parentdeed4e49978599281ecedf9a054808c51e3c6939 (diff)
Formatting
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 7e296759..9cc1206f 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -560,7 +560,7 @@ int main(int argc, char *argv[])
char *speaks = NULL;
char *scellr = NULL;
char *toler = NULL;
- float tols[4] = {5.0, 5.0, 5.0, 1.5}; /* for a,b,c in % and for the angles in deg */
+ float tols[4] = {5.0, 5.0, 5.0, 1.5}; /* a,b,c,angles (%,%,%,deg) */
int cellr;
int peaks;
int nthreads = 1;
@@ -881,7 +881,8 @@ int main(int argc, char *argv[])
if ( toler != NULL ) {
int ttt;
- ttt = sscanf(toler, "%f,%f,%f,%f", &tols[0], &tols[1], &tols[2], &tols[3] );
+ ttt = sscanf(toler, "%f,%f,%f,%f",
+ &tols[0], &tols[1], &tols[2], &tols[3] );
if ( ttt != 4 ) {
ERROR("Invalid parameters for '--tolerance'\n");
return 1;