From 797d08578169fb42cd738d7a36c11f2e3d304af6 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 15 Sep 2015 17:31:20 +0800 Subject: [PATCH] JSDOC/TextStream.vala --- JSDOC/TextStream.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JSDOC/TextStream.vala b/JSDOC/TextStream.vala index 22eff7a..450c379 100644 --- a/JSDOC/TextStream.vala +++ b/JSDOC/TextStream.vala @@ -64,14 +64,14 @@ namespace JSDOC { if (this.cursor+i < this.length) { var add = this.text.get_char(this.cursor+i).to_string() pulled += add; - i += add.length(); + i += add.length; } else { return ""; } } - this.cursor += n; + this.cursor += pulled.length; return pulled; } -- 2.39.2