gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
fixed typo (wrong var) in the procedure for printing
authorDoni Pracner <quinnuendo@gmail.com>
Fri, 1 Aug 2014 12:07:33 +0000 (14:07 +0200)
committerDoni Pracner <quinnuendo@gmail.com>
Fri, 1 Aug 2014 12:07:33 +0000 (14:07 +0200)
src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java

index 78f30eb36c060084259e14f7a54df26b1879bcac..9a4493c30c3f7eed26d06c526ad42899173a9bca 100644 (file)
@@ -213,7 +213,7 @@ public class mjc2wsl{
                                ret.append("\nPROC Print_MJ(val, format VAR)==\n");
                                ret.append(createComment("print spacing", C_SPEC));
                                ret.append("\n\tIF format>1 THEN\n\t\tFOR i:=1 TO ");
-                               ret.append("MAX(0, format-SLENGTH(@String(tempb))) STEP 1 DO PRINFLUSH(\" \") OD\n");
+                               ret.append("MAX(0, format-SLENGTH(@String(val))) STEP 1 DO PRINFLUSH(\" \") OD\n");
                                ret.append("\tFI;\n\tPRINFLUSH(val)\nEND\n");
 
                                ret.append("\nPROC Print_MJ_CHAR(val, format VAR)==\n");
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner