aboutsummaryrefslogtreecommitdiffstats
path: root/klippy
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-05-17 01:12:30 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-05-17 09:57:09 -0400
commitb6f24e78ac2afd736102b8730b9addf53f80dc3b (patch)
treeb7312dec299beef1fc9e5bb53865a879485072af /klippy
parentfc24aa041b454c9f0f1a4e346ece122a32f32717 (diff)
downloadkutter-b6f24e78ac2afd736102b8730b9addf53f80dc3b.tar.gz
kutter-b6f24e78ac2afd736102b8730b9addf53f80dc3b.tar.xz
kutter-b6f24e78ac2afd736102b8730b9addf53f80dc3b.zip
pyhelper: Fix GETHEX() macro used in dump_string() debugging
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy')
-rw-r--r--klippy/pyhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/pyhelper.c b/klippy/pyhelper.c
index 410fd764..6fa4817f 100644
--- a/klippy/pyhelper.c
+++ b/klippy/pyhelper.c
@@ -69,7 +69,7 @@ report_errno(char *where, int rc)
}
// Return a hex character for a given number
-#define GETHEX(x) ((x) < 10 ? '0' + (x) : 'e' + (x) - 10)
+#define GETHEX(x) ((x) < 10 ? '0' + (x) : 'a' + (x) - 10)
// Translate a binary string into an ASCII string with escape sequences
char *