]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
ccodewriter: Use private _bol field instead of property
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 1 Nov 2016 07:39:57 +0000 (08:39 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 1 Nov 2016 10:50:41 +0000 (11:50 +0100)
ccode/valaccodewriter.vala

index adcf1892004fd7f4eaf8736935205d38a5d49b54..b6a32384ee5f3a0d61fc969cd75ce2ed7df8c0d7 100644 (file)
@@ -156,7 +156,7 @@ public class Vala.CCodeWriter {
                        }
                }
 
-               if (!bol) {
+               if (!_bol) {
                        write_newline ();
                }
                
@@ -187,7 +187,7 @@ public class Vala.CCodeWriter {
         * Opens a new block, increasing the indent level.
         */
        public void write_begin_block () {
-               if (!bol) {
+               if (!_bol) {
                        stream.putc (' ');
                } else {
                        write_indent ();