diff options
author | Thomas White <taw@physics.org> | 2016-04-12 13:56:37 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-04-12 13:56:37 +0200 |
commit | 57381ed7e7e787ff0fd35e0eec2c7ed4cdae0357 (patch) | |
tree | f58a00581d2b5ae2d072f34a4133b2389f64fa0c /libcrystfel/src/detector.c | |
parent | b62b7f7356f529ab904dabefb4618afc8f2211ec (diff) | |
parent | 52a9c0b1a891f2adfbcdbe4d69b070e837b8e7cb (diff) |
Merge branch 'tom/testing'
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r-- | libcrystfel/src/detector.c | 4 |
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; } |