src/JsRender/NodeToJs.vala
authorAlan Knowles <alan@roojs.com>
Fri, 27 May 2016 07:46:25 +0000 (15:46 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 27 May 2016 07:46:25 +0000 (15:46 +0800)
src/JsRender/NodeToJs.vala

index 4a0c705..affe266 100644 (file)
@@ -299,7 +299,7 @@ public class JsRender.NodeToJs : Object {
        */
        public void addLine(string str, char line_end)
        {
-               this.ret += (this.last_line_end == 0 ? "" : this.last_line_end.toString()) + "\n"; 
+               this.ret += (this.last_line_end == 0 ? "" : this.last_line_end.to_string()) + "\n"; 
                this.last_line_end = line_end;
                this.cur_line += str.split("\n").length;
                this.ret += str;