aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compare_hkl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index 5a490771..b58e6d25 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -95,6 +95,10 @@ int main(int argc, char *argv[])
return 1;
}
+ if ( sym == NULL ) {
+ sym = strdup("1");
+ }
+
afile = strdup(argv[optind++]);
bfile = strdup(argv[optind]);