JSDOC/TextStream.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 Oct 2015 09:11:10 +0000 (17:11 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 Oct 2015 09:11:10 +0000 (17:11 +0800)
JSDOC/TextStream.vala

index 9eeb448..39f935c 100644 (file)
@@ -37,7 +37,7 @@ namespace JSDOC {
             if (this.cursor+n < 0 || this.cursor+n >= this.length) {
                 return '\0';
             }
-            return  this.text.get_char(this.cursor+n);
+            return this.text[this.cursor+n]; // this.text.get_char(this.cursor+n);
         }
         
         public bool lookEOF(int n = 0)