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

Reindent.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4811 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2008-04-21 20:23:17 +00:00 committed by exg
parent a6090c7f8f
commit 83ad9855e7

View File

@ -373,15 +373,15 @@ void term_addch(TERM_WINDOW *window, char chr)
{ {
if (vcmove) term_move_real(); if (vcmove) term_move_real();
/* With UTF-8, move cursor only if this char is either /* With UTF-8, move cursor only if this char is either
single-byte (8. bit off) or beginning of multibyte single-byte (8. bit off) or beginning of multibyte
(7. bit off) */ (7. bit off) */
if (term_type != TERM_TYPE_UTF8 || if (term_type != TERM_TYPE_UTF8 ||
(chr & 0x80) == 0 || (chr & 0x40) == 0) { (chr & 0x80) == 0 || (chr & 0x40) == 0) {
term_printed_text(1); term_printed_text(1);
} }
putc(chr, window->term->out); putc(chr, window->term->out);
} }
static void term_addch_utf8(TERM_WINDOW *window, unichar chr) static void term_addch_utf8(TERM_WINDOW *window, unichar chr)
@ -485,10 +485,10 @@ void term_refresh_thaw(void)
void term_stop(void) void term_stop(void)
{ {
terminfo_stop(current_term); terminfo_stop(current_term);
kill(getpid(), SIGTSTP); kill(getpid(), SIGTSTP);
terminfo_cont(current_term); terminfo_cont(current_term);
irssi_redraw(); irssi_redraw();
} }
static int input_utf8(const unsigned char *buffer, int size, unichar *result) static int input_utf8(const unsigned char *buffer, int size, unichar *result)