JSDOC/CompressWhite.vala
authorAlan Knowles <alan@roojs.com>
Wed, 25 Nov 2015 08:33:07 +0000 (16:33 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 25 Nov 2015 08:33:07 +0000 (16:33 +0800)
JSDOC/CompressWhite.vala

index e556957..70e105b 100644 (file)
@@ -313,8 +313,8 @@ namespace JSDOC
                         
                                outstr += tok.outData != "" ? tok.outData : tok.data;
                                
-                               if ((tok.outData == ";") && (out.length - outoff > 255)) {
-                                   outoff = out.length;
+                               if ((tok.outData == ";") && (outstr.length - outoff > 255)) {
+                                   outoff = outstr.length;
                                    outstr += "\n";
                                }
                        }