Преглед изворни кода

A small fix to generated code.

mingodad пре 13 година
родитељ
комит
532999e557
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      SquiLu-ourbiz/fluid2SquiLu.nut

+ 1 - 1
SquiLu-ourbiz/fluid2SquiLu.nut

@@ -421,7 +421,7 @@ Write.MenuItem <- function(t, ind){
 	else
 	else
 	{
 	{
 		//Output(ind, "%s:add(%q", w.varname, t.path)
 		//Output(ind, "%s:add(%q", w.varname, t.path)
-		Output(ind, "%s(%q)", configuration.textfilter, t.path);
+		Output(ind, "o.add(%s(%q)", configuration.textfilter, t.path);
 	}
 	}
 
 
 	Output(0, ", %s", t.attr.get("shortcut", "0").tostring());
 	Output(0, ", %s", t.attr.get("shortcut", "0").tostring());