aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-12-11 18:01:11 +0000
committerThomas Adam <thomas@xteddy.org>2015-12-11 18:01:11 +0000
commit2a6b2153280278d356dfbdd2af36887d5a1c8763 (patch)
tree82f6ebafd999b60d3b67cc66e68c9f00df95ec59 /tty-term.c
parent2a3456cd3b234a2f5d0b6724fe41bb62b8deab4e (diff)
parent88bc8f3528b973adb17f541e21aa415923a10f1e (diff)
downloadrtmux-2a6b2153280278d356dfbdd2af36887d5a1c8763.tar.gz
rtmux-2a6b2153280278d356dfbdd2af36887d5a1c8763.tar.bz2
rtmux-2a6b2153280278d356dfbdd2af36887d5a1c8763.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tty-term.c b/tty-term.c
index f536859e..ea4721a4 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -409,12 +409,12 @@ tty_term_find(char *name, int fd, char **cause)
if (setupterm(name, fd, &error) != OK) {
switch (error) {
case 1:
- xasprintf(
- cause, "can't use hardcopy terminal: %s", name);
+ xasprintf(cause, "can't use hardcopy terminal: %s",
+ name);
break;
case 0:
- xasprintf(
- cause, "missing or unsuitable terminal: %s", name);
+ xasprintf(cause, "missing or unsuitable terminal: %s",
+ name);
break;
case -1:
xasprintf(cause, "can't find terminfo database");