Tweak some error messages/comments.

pull/121/head
nicm 2015-09-01 19:50:09 +00:00
parent 66a2720c56
commit 93b946ee50
3 changed files with 2 additions and 3 deletions

View File

@ -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");
} }
/* /*

View File

@ -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);

View File

@ -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)
{ {