aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r--libcrystfel/src/detector.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index af1a6da8..debb64fb 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -129,7 +129,7 @@ static int assplode_algebraic(const char *a_orig, char ***pbits)
if ( !isdigit(ch) && (ch != '.') && (ch != 'x') && (ch != 'y')
&& (ch != '+') && (ch != '-') )
{
- ERROR("Invalid character '%C' found.\n", ch);
+ ERROR("Invalid character '%c' found.\n", ch);
return 0;
}
@@ -174,7 +174,7 @@ static int dir_conv(const char *a, double *sx, double *sy)
assert(len != 0);
axis = bits[i][len-1];
if ( (axis != 'x') && (axis != 'y') ) {
- ERROR("Invalid symbol '%C' - must be x or y.\n", axis);
+ ERROR("Invalid symbol '%c' - must be x or y.\n", axis);
return 1;
}