Fix typo.

Pointed by:	Ronald Klop
Pointy hat:	ray

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Aleksandr Rybalko 2014-02-06 13:28:06 +00:00
parent 76c1988620
commit 0205ddeb44

View File

@ -339,7 +339,7 @@ teken_get_winsize(teken_t *t)
}
static void
taken_trim_cursor_pos(teken_t *t, const teken_pos_t *new)
teken_trim_cursor_pos(teken_t *t, const teken_pos_t *new)
{
const teken_pos_t *cur;
@ -357,7 +357,7 @@ void
teken_set_winsize(teken_t *t, const teken_pos_t *p)
{
taken_trim_cursor_pos(t, p);
teken_trim_cursor_pos(t, p);
t->t_winsize = *p;
teken_subr_do_reset(t);
}
@ -366,7 +366,7 @@ void
teken_set_winsize_noreset(teken_t *t, const teken_pos_t *p)
{
taken_trim_cursor_pos(t, p);
teken_trim_cursor_pos(t, p);
t->t_winsize = *p;
teken_subr_do_resize(t);
}