diff options
author | pisculichi <pisculichi@openmailbox.com> | 2016-05-02 16:01:48 +0000 |
---|---|---|
committer | pisculichi <pisculichi@openmailbox.com> | 2016-05-03 15:28:20 +0000 |
commit | 47e792da05f79c624a190fd5780e07f171fd7bd1 (patch) | |
tree | cfe0e053c3dac6cc933901309810809216ecc20a /src/fe-text/gui-readline.c | |
parent | cf98260eded9150d4ce1f3c5184ae5f3463d9c21 (diff) | |
download | irssi-47e792da05f79c624a190fd5780e07f171fd7bd1.zip |
Fix some ANSI C issues.
Diffstat (limited to 'src/fe-text/gui-readline.c')
-rw-r--r-- | src/fe-text/gui-readline.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c index e0ffb4f1..7c71edd7 100644 --- a/src/fe-text/gui-readline.c +++ b/src/fe-text/gui-readline.c @@ -696,10 +696,11 @@ static void key_append_next_kill(void) static gboolean paste_timeout(gpointer data) { + int split_lines; paste_was_bracketed_mode = paste_bracketed_mode; /* number of lines after splitting extra-long messages */ - int split_lines = paste_buffer->len / LINE_SPLIT_LIMIT; + split_lines = paste_buffer->len / LINE_SPLIT_LIMIT; /* Take into account the fact that a line may be split every LINE_SPLIT_LIMIT characters */ if (paste_line_count == 0 && split_lines <= paste_verify_line_count) { |