aboutsummaryrefslogtreecommitdiff
path: root/src/get_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-11-29 13:47:00 +0100
committerThomas White <taw@physics.org>2013-11-29 13:47:00 +0100
commitbc0ea6b08d78d1c56052a052388d844443467d35 (patch)
treeef585801cdea0af543ccaf7e3319bcb65280b664 /src/get_hkl.c
parent15e4f69548354a1d4ca21bc1bc657d296ea09314 (diff)
get_hkl: Fix obvious bug in option processing
Diffstat (limited to 'src/get_hkl.c')
-rw-r--r--src/get_hkl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c
index 029f8d21..ac59b2e9 100644
--- a/src/get_hkl.c
+++ b/src/get_hkl.c
@@ -481,7 +481,7 @@ int main(int argc, char *argv[])
char *rval;
errno = 0;
- cutiso = strtod(optarg, &rval);
+ cutiso = strtod(cutoff_str, &rval);
if ( *rval != '\0' ) {
ERROR("Invalid value for --cutoff-angstroms.\n");
return 1;