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:
parent
e8ae6d827d
commit
2f13aacf43
@ -308,7 +308,7 @@ void term_move(TERM_WINDOW *window, int x, int y)
|
|||||||
wmove(window->win, y, x);
|
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);
|
waddch(window->win, chr);
|
||||||
}
|
}
|
||||||
|
@ -385,7 +385,7 @@ static void term_printed_text(int count)
|
|||||||
cforcemove = TRUE;
|
cforcemove = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void term_addch(TERM_WINDOW *window, int chr)
|
void term_addch(TERM_WINDOW *window, char chr)
|
||||||
{
|
{
|
||||||
if (term_detached) return;
|
if (term_detached) return;
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ void term_window_scroll(TERM_WINDOW *window, int count);
|
|||||||
void term_set_color(TERM_WINDOW *window, int col);
|
void term_set_color(TERM_WINDOW *window, int col);
|
||||||
|
|
||||||
void term_move(TERM_WINDOW *window, int x, int y);
|
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_add_unichar(TERM_WINDOW *window, unichar chr);
|
||||||
void term_addstr(TERM_WINDOW *window, const char *str);
|
void term_addstr(TERM_WINDOW *window, const char *str);
|
||||||
void term_clrtoeol(TERM_WINDOW *window);
|
void term_clrtoeol(TERM_WINDOW *window);
|
||||||
|
@ -289,13 +289,13 @@ static void _clrtoeol(TERM_REC *term)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Repeat character (rep / rp) */
|
/* 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));
|
tput(tparm(term->TI_rep, chr, count));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Repeat character (manual) */
|
/* 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) {
|
while (count > 0) {
|
||||||
putc(chr, term->out);
|
putc(chr, term->out);
|
||||||
|
@ -30,7 +30,7 @@ struct _TERM_REC {
|
|||||||
|
|
||||||
void (*clear)(TERM_REC *term);
|
void (*clear)(TERM_REC *term);
|
||||||
void (*clrtoeol)(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_fg)(TERM_REC *term, int color);
|
||||||
void (*set_bg)(TERM_REC *term, int color);
|
void (*set_bg)(TERM_REC *term, int color);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user