X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FTextStream.vala;h=f5bb7258fce7e3965ceb9fc1f595af5dd86f1873;hb=35ddfbdfc0fb33aab65d6722db3948ca210ede7f;hp=cfc7ba4e6405250832732f0648d4ae2ea0763b09;hpb=45400c411548f5a6743e4465d902226de6629dc4;p=gnome.introspection-doc-generator diff --git a/JSDOC/TextStream.vala b/JSDOC/TextStream.vala index cfc7ba4..f5bb725 100644 --- a/JSDOC/TextStream.vala +++ b/JSDOC/TextStream.vala @@ -58,13 +58,13 @@ namespace JSDOC { return "\0"; } - string pulled; + string pulled = ""; var i = 0; while (i < n) { if (this.cursor+i < this.length) { var add = this.text[this.cursor+i]; //this.text.get_char(this.cursor+i).to_string(); - pulled += add; - i += add.length; + pulled += add.to_string(); + i += 1;// add.length; } else { return "";