summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2016-05-05 00:01:11 +0100
committerThomas Adam <thomas@xteddy.org>2016-05-05 00:01:11 +0100
commitf4648c1ca1e2a42ace541555387d2b66ff717dde (patch)
treeca1adba95f960865a09e0769f9eb858f9fcb1284 /tmux.c
parentce1ec90fcc73110ca319c0e0a7823f84fd6286de (diff)
parent9f045787a5b12a8ee19a3cf29432a41cec4d2158 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tmux.c b/tmux.c
index cf82110a..aa6d331a 100644
--- a/tmux.c
+++ b/tmux.c
@@ -196,8 +196,7 @@ main(int argc, char **argv)
if (setlocale(LC_CTYPE, "") == NULL)
errx(1, "invalid LC_ALL, LC_CTYPE or LANG");
s = nl_langinfo(CODESET);
- if (strcasecmp(s, "UTF-8") != 0 &&
- strcasecmp(s, "UTF8") != 0)
+ if (strcasecmp(s, "UTF-8") != 0 && strcasecmp(s, "UTF8") != 0)
errx(1, "need UTF-8 locale (LC_CTYPE) but have %s", s);
}