summaryrefslogtreecommitdiff
path: root/src/scanner.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/scanner.vala')
-rw-r--r--src/scanner.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.vala b/src/scanner.vala
index 33cf86f..2107a60 100644
--- a/src/scanner.vala
+++ b/src/scanner.vala
@@ -1367,7 +1367,7 @@ public class Scanner
line_count += line.n_lines;
/* Increase buffer size if did full read */
- var buffer_size = buffer.length;
+ var buffer_size = line.data.length;
if (full_read)
buffer_size += parameters.bytes_per_line;