aboutsummaryrefslogtreecommitdiff
path: root/driver-csi.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-29 16:13:38 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-29 16:13:38 +0000
commitee12c698da34cb707899e666f7a57cc4bf241623 (patch)
treeb7af31737523f7eaeb7ad46d7c8601d4b68ad9bc /driver-csi.c
parent9b20346dc36e52b8ddefd8b92628440557d57195 (diff)
downloadtermo-ee12c698da34cb707899e666f7a57cc4bf241623.tar.gz
termo-ee12c698da34cb707899e666f7a57cc4bf241623.tar.xz
termo-ee12c698da34cb707899e666f7a57cc4bf241623.zip
Document the errors set by termkey_new(), use errno rather than fprintf() to stderr
Diffstat (limited to 'driver-csi.c')
-rw-r--r--driver-csi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/driver-csi.c b/driver-csi.c
index f138a73..470f996 100644
--- a/driver-csi.c
+++ b/driver-csi.c
@@ -19,7 +19,6 @@ typedef struct {
static void register_csi_ss3_full(TermKeyType type, TermKeySym sym, int modifier_set, int modifier_mask, unsigned char cmd)
{
if(cmd < 0x40 || cmd >= 0x80) {
- fprintf(stderr, "Cannot register CSI/SS3 key at cmd 0x%02x - out of bounds\n", cmd);
return;
}
@@ -37,7 +36,6 @@ static void register_csi_ss3(TermKeyType type, TermKeySym sym, unsigned char cmd
static void register_ss3kpalt(TermKeyType type, TermKeySym sym, unsigned char cmd, char kpalt)
{
if(cmd < 0x40 || cmd >= 0x80) {
- fprintf(stderr, "Cannot register SS3 key at cmd 0x%02x - out of bounds\n", cmd);
return;
}
@@ -51,7 +49,6 @@ static void register_ss3kpalt(TermKeyType type, TermKeySym sym, unsigned char cm
static void register_csifunc(TermKeyType type, TermKeySym sym, int number)
{
if(number >= NCSIFUNCS) {
- fprintf(stderr, "Cannot register CSI function key at number %d - out of bounds\n", number);
return;
}