1
0
mirror of https://github.com/irssi/irssi.git synced 2025-02-02 15:08:01 -05:00

Change type of 'chr' argument in terminfo_repeat/term_addch to 'char'.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4795 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2008-04-04 08:41:44 +00:00 committed by exg
parent e8ae6d827d
commit 2f13aacf43
5 changed files with 6 additions and 6 deletions

View File

@ -308,7 +308,7 @@ void term_move(TERM_WINDOW *window, int x, int y)
wmove(window->win, y, x);
}
void term_addch(TERM_WINDOW *window, int chr)
void term_addch(TERM_WINDOW *window, char chr)
{
waddch(window->win, chr);
}

View File

@ -385,7 +385,7 @@ static void term_printed_text(int count)
cforcemove = TRUE;
}
void term_addch(TERM_WINDOW *window, int chr)
void term_addch(TERM_WINDOW *window, char chr)
{
if (term_detached) return;

View File

@ -66,7 +66,7 @@ void term_window_scroll(TERM_WINDOW *window, int count);
void term_set_color(TERM_WINDOW *window, int col);
void term_move(TERM_WINDOW *window, int x, int y);
void term_addch(TERM_WINDOW *window, int chr);
void term_addch(TERM_WINDOW *window, char chr);
void term_add_unichar(TERM_WINDOW *window, unichar chr);
void term_addstr(TERM_WINDOW *window, const char *str);
void term_clrtoeol(TERM_WINDOW *window);

View File

@ -289,13 +289,13 @@ static void _clrtoeol(TERM_REC *term)
}
/* Repeat character (rep / rp) */
static void _repeat(TERM_REC *term, int chr, int count)
static void _repeat(TERM_REC *term, char chr, int count)
{
tput(tparm(term->TI_rep, chr, count));
}
/* Repeat character (manual) */
static void _repeat_manual(TERM_REC *term, int chr, int count)
static void _repeat_manual(TERM_REC *term, char chr, int count)
{
while (count > 0) {
putc(chr, term->out);

View File

@ -30,7 +30,7 @@ struct _TERM_REC {
void (*clear)(TERM_REC *term);
void (*clrtoeol)(TERM_REC *term);
void (*repeat)(TERM_REC *term, int chr, int count);
void (*repeat)(TERM_REC *term, char chr, int count);
void (*set_fg)(TERM_REC *term, int color);
void (*set_bg)(TERM_REC *term, int color);