summaryrefslogtreecommitdiff
path: root/src/command.h
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2009-11-13 06:11:52 +0000
committerMichael Jennings <mej@kainx.org>2009-11-13 06:11:52 +0000
commitd9da90c06dd1eaf9423928fa927c68407b571fd5 (patch)
tree69d774498dc051afe46de9dd20931d5fd45b7bb8 /src/command.h
parent7415528f522ef00934f7a61cda2ce303a992ff9e (diff)
downloadeterm-d9da90c06dd1eaf9423928fa927c68407b571fd5.tar.gz
Thu Nov 12 22:11:49 2009 Michael Jennings (mej)
Additional debugging and proper bracing. ---------------------------------------------------------------------- SVN revision: 43652
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.h b/src/command.h
index 4b40713..f7d91e3 100644
--- a/src/command.h
+++ b/src/command.h
@@ -269,7 +269,7 @@ if (test) PrivateModes |= (bit); else PrivateModes &= ~(bit);} while (0)
#define CHARS_READ() (cmdbuf_ptr < cmdbuf_endp)
#define CHARS_BUFFERED() (count != CMD_BUF_SIZE)
#define RETURN_CHAR() do { \
- char c = *cmdbuf_ptr++; \
+ unsigned char c = *cmdbuf_ptr++; \
refreshed = 0; \
if (c < 32) D_VT(("RETURN_CHAR(): \'%s\' (%d 0x%02x %03o)\n", get_ctrl_char_name(c), c, c, c)); \
else D_VT(("RETURN_CHAR(): \'%c\' (%d 0x%02x %03o)\n", c, c, c, c)); \