Fix up a couple of long lines.

This commit is contained in:
nicm 2016-05-04 21:29:47 +00:00
parent 28e0658fa9
commit 9f045787a5
2 changed files with 3 additions and 3 deletions

View File

@ -699,7 +699,8 @@ const struct options_table_entry options_table[] = {
{ .name = "pane-border-format", { .name = "pane-border-format",
.type = OPTIONS_TABLE_STRING, .type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW, .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", { .name = "pane-border-status",

3
tmux.c
View File

@ -193,8 +193,7 @@ main(int argc, char **argv)
if (setlocale(LC_CTYPE, "") == NULL) if (setlocale(LC_CTYPE, "") == NULL)
errx(1, "invalid LC_ALL, LC_CTYPE or LANG"); errx(1, "invalid LC_ALL, LC_CTYPE or LANG");
s = nl_langinfo(CODESET); s = nl_langinfo(CODESET);
if (strcasecmp(s, "UTF-8") != 0 && if (strcasecmp(s, "UTF-8") != 0 && strcasecmp(s, "UTF8") != 0)
strcasecmp(s, "UTF8") != 0)
errx(1, "need UTF-8 locale (LC_CTYPE) but have %s", s); errx(1, "need UTF-8 locale (LC_CTYPE) but have %s", s);
} }