From 3edcc7a61151792c61d61bb46930c69feed079ff Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Mon, 21 Jan 2008 15:44:05 +0000 Subject: Reindent. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4675 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/gui-readline.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c index ddb48139..90483090 100644 --- a/src/fe-text/gui-readline.c +++ b/src/fe-text/gui-readline.c @@ -424,16 +424,16 @@ static int check_pasting(unichar key, int diff) if ((key == '\r' || key == '\n') && (prev_key != '\r' && prev_key != '\n')) { if (paste_state == 1) { - if (paste_keycount < paste_detect_keycount) { - /* not enough keypresses to determine if this is - pasting or not. don't reset paste keycount, but - send this line as non-pasted */ - g_array_set_size(paste_buffer, 0); - *paste_entry = '\0'; - return FALSE; - } + if (paste_keycount < paste_detect_keycount) { + /* not enough keypresses to determine if this is + pasting or not. don't reset paste_keycount, but + send this line as non-pasted */ + g_array_set_size(paste_buffer, 0); + *paste_entry = '\0'; + return FALSE; + } - /* newline - assume this line was pasted */ + /* newline - assume this line was pasted */ paste_state = 2; gui_entry_set_text(active_entry, paste_entry); gui_entry_set_pos(active_entry, paste_entry_pos); -- cgit v1.2.3