aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compare_hkl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index fee30247..5846682f 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -61,9 +61,9 @@ enum r_shell
static enum r_shell get_r_shell(const char *s)
{
- if ( strcmp(s, "r1i") == 0 ) return R_SHELL_R1I;
- if ( strcmp(s, "r1f") == 0 ) return R_SHELL_R1F;
- if ( strcmp(s, "rsplit") == 0 ) return R_SHELL_RSPLIT;
+ if ( strcasecmp(s, "r1i") == 0 ) return R_SHELL_R1I;
+ if ( strcasecmp(s, "r1f") == 0 ) return R_SHELL_R1F;
+ if ( strcasecmp(s, "rsplit") == 0 ) return R_SHELL_RSPLIT;
ERROR("Unknown R-factor '%s' - try '--shells=rsplit', or --help for"
" more possibilities.\n", s);