summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authornicm <nicm>2015-11-18 13:06:54 +0000
committernicm <nicm>2015-11-18 13:06:54 +0000
commit64571368dc19219fc1ef9b6c20034ee143cbed0d (patch)
treedf7ea5e4787df75f08ebe9a4969c5025715cee15 /input.c
parentca5e6bf5f2f11796bf2bdbe136ba534e46b2e86e (diff)
Sync the entire xmalloc.[ch] with the other users, but with the addition
of xrealloc, xvasprintf, xvsnprintf.
Diffstat (limited to 'input.c')
-rw-r--r--input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/input.c b/input.c
index 6e1fec90..d8e80afb 100644
--- a/input.c
+++ b/input.c
@@ -1924,7 +1924,7 @@ input_utf8_open(struct input_ctx *ictx)
struct utf8_data *ud = &ictx->utf8data;
if (utf8_open(ud, ictx->ch) != UTF8_MORE)
- log_fatalx("UTF-8 open invalid %#x", ictx->ch);
+ fatalx("UTF-8 open invalid %#x", ictx->ch);
log_debug("%s %hhu", __func__, ud->size);
@@ -1938,7 +1938,7 @@ input_utf8_add(struct input_ctx *ictx)
struct utf8_data *ud = &ictx->utf8data;
if (utf8_append(ud, ictx->ch) != UTF8_MORE)
- log_fatalx("UTF-8 add invalid %#x", ictx->ch);
+ fatalx("UTF-8 add invalid %#x", ictx->ch);
log_debug("%s", __func__);
@@ -1952,7 +1952,7 @@ input_utf8_close(struct input_ctx *ictx)
struct utf8_data *ud = &ictx->utf8data;
if (utf8_append(ud, ictx->ch) != UTF8_DONE)
- log_fatalx("UTF-8 close invalid %#x", ictx->ch);
+ fatalx("UTF-8 close invalid %#x", ictx->ch);
log_debug("%s %hhu '%*s' (width %hhu)", __func__, ud->size,
(int)ud->size, ud->data, ud->width);