mirror of
https://github.com/tmux/tmux.git
synced 2025-01-11 18:58:47 +00:00
Tweak some error messages/comments.
This commit is contained in:
parent
66a2720c56
commit
93b946ee50
2
input.c
2
input.c
@ -878,7 +878,7 @@ input_parse(struct window_pane *wp)
|
|||||||
}
|
}
|
||||||
if (itr->first == -1 || itr->last == -1) {
|
if (itr->first == -1 || itr->last == -1) {
|
||||||
/* No transition? Eh? */
|
/* No transition? Eh? */
|
||||||
fatalx("No transition from state!");
|
fatalx("no transition from state");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1060,7 +1060,7 @@ server_client_msg_dispatch(struct client *c)
|
|||||||
s = c->session;
|
s = c->session;
|
||||||
|
|
||||||
if (gettimeofday(&c->activity_time, NULL) != 0)
|
if (gettimeofday(&c->activity_time, NULL) != 0)
|
||||||
fatal("gettimeofday");
|
fatal("gettimeofday failed");
|
||||||
if (s != NULL)
|
if (s != NULL)
|
||||||
session_update_activity(s, &c->activity_time);
|
session_update_activity(s, &c->activity_time);
|
||||||
|
|
||||||
|
@ -560,7 +560,6 @@ tty_term_string(struct tty_term *term, enum tty_code_code code)
|
|||||||
return (term->codes[code].value.string);
|
return (term->codes[code].value.string);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* No vtparm. Fucking curses. */
|
|
||||||
const char *
|
const char *
|
||||||
tty_term_string1(struct tty_term *term, enum tty_code_code code, int a)
|
tty_term_string1(struct tty_term *term, enum tty_code_code code, int a)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user