JSDOC/TextStream.vala
authorAlan Knowles <alan@roojs.com>
Tue, 15 Sep 2015 09:22:46 +0000 (17:22 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 15 Sep 2015 09:22:46 +0000 (17:22 +0800)
JSDOC/TextStream.vala

index 229b2ca..153495f 100644 (file)
@@ -57,7 +57,7 @@ namespace JSDOC {
             char pulled;
             for (var i = 0; i < n; i++) {
                 if (this.cursor+i < this.text.length) {
-                    pulled += this.text.charAt(this.cursor+i);
+                    pulled += this.text.get_char(this.cursor+i);
                 } else {
                     eof =true;
                     return '\0';