src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Wed, 8 Jun 2016 10:07:11 +0000 (18:07 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 8 Jun 2016 10:07:11 +0000 (18:07 +0800)
src/Builder4/WindowState.vala

index 3b7ad05..a4446d5 100644 (file)
@@ -1167,7 +1167,7 @@ public class WindowState : Object
                        } else {
                                this.win.statusbar_depricated.setNotices( new Json.Object(),0);
                        }
-                       if (this.state = State.CODE: || this.state == State.PROJECTCODEONLY) {
+                       if (this.state = State.CODE || this.state == State.PROJECTCODEONLY) {
                                buf.highlightErrorsJson("ERR", obj);
                                buf.highlightErrorsJson("WARN", obj);
                                buf.highlightErrorsJson("DEPR", obj);