aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2016-05-04 21:29:47 +0000
committernicm <nicm>2016-05-04 21:29:47 +0000
commit9f045787a5b12a8ee19a3cf29432a41cec4d2158 (patch)
tree1417ee3ffc87421163da773b3988e507b53fc3e5
parent28e0658fa984ccc5c614e2f66f75df522b116e2c (diff)
downloadrtmux-9f045787a5b12a8ee19a3cf29432a41cec4d2158.tar.gz
rtmux-9f045787a5b12a8ee19a3cf29432a41cec4d2158.tar.bz2
rtmux-9f045787a5b12a8ee19a3cf29432a41cec4d2158.zip
Fix up a couple of long lines.
-rw-r--r--options-table.c3
-rw-r--r--tmux.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/options-table.c b/options-table.c
index c55ce715..b96d91b3 100644
--- a/options-table.c
+++ b/options-table.c
@@ -699,7 +699,8 @@ const struct options_table_entry options_table[] = {
{ .name = "pane-border-format",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,
- .default_str = "#{?pane_active,#[reverse],}#{pane_index}#[default] \"#{pane_title}\""
+ .default_str = "#{?pane_active,#[reverse],}#{pane_index}#[default] "
+ "\"#{pane_title}\""
},
{ .name = "pane-border-status",
diff --git a/tmux.c b/tmux.c
index f8654e2b..08b26326 100644
--- a/tmux.c
+++ b/tmux.c
@@ -193,8 +193,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);
}