src/Palete/Palete.vala
authorAlan Knowles <alan@roojs.com>
Wed, 8 Jun 2016 09:59:41 +0000 (17:59 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 8 Jun 2016 09:59:41 +0000 (17:59 +0800)
src/Palete/Palete.vala

index 88003c1..e937370 100644 (file)
@@ -438,7 +438,7 @@ namespace Palete
                         
                        p.packFile(code, file.path,"");
                        state.showCompileResult(p.result);
                         
                        p.packFile(code, file.path,"");
                        state.showCompileResult(p.result);
-                       if (p.hasErrors()) {
+                       if (p.hasErrors("")) {
                                return true;
                        }
                        return false;
                                return true;
                        }
                        return false;