summaryrefslogtreecommitdiff
path: root/ccode
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2016-11-01 08:39:57 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2016-11-01 11:50:41 +0100
commitb552f3880f07ff4801ab365b687a91bcfb15d038 (patch)
tree9cd6878627fc5a7e5b052f2b6ec0bc8c24f24104 /ccode
parent061d0e14742ee746fbbbb39afdfdfe5c8b5f84db (diff)
downloadvala-b552f3880f07ff4801ab365b687a91bcfb15d038.tar.gz
ccodewriter: Use private _bol field instead of property
Diffstat (limited to 'ccode')
-rw-r--r--ccode/valaccodewriter.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccode/valaccodewriter.vala b/ccode/valaccodewriter.vala
index adcf18920..b6a32384e 100644
--- a/ccode/valaccodewriter.vala
+++ b/ccode/valaccodewriter.vala
@@ -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 ();