src/JsRender/NodeToJs.vala
authorAlan Knowles <alan@roojs.com>
Fri, 19 Jun 2015 05:14:21 +0000 (13:14 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 19 Jun 2015 05:14:21 +0000 (13:14 +0800)
src/JsRender/NodeToJs.vala

index 6e0987f..6063b89 100644 (file)
@@ -311,7 +311,7 @@ public class JsRender.NodeToJs : Object {
        {
                 
                this.cur_line += str.split("\n").length;
-               this.ret +=  "/*%d*/ ".printf(l) + str + "\n";
+               this.ret +=  "/*%d*/ ".printf(this.cur_line) + str + "\n";
                //this.ret +=   str + "\n";
        }