summaryrefslogtreecommitdiff
path: root/src/formatter.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-01-28 20:13:42 +0000
committerMike Buland <eichlan@xagasoft.com>2010-01-28 20:13:42 +0000
commit81b7d806028bd484e2765cbc57b9677544bf52b2 (patch)
tree4cd3eb610164a557d8afb6ff2da8774e32b0e645 /src/formatter.cpp
parente7f4a92bb81c5fabcb12372a180016b996f2c988 (diff)
downloadlibbu++-81b7d806028bd484e2765cbc57b9677544bf52b2.tar.gz
libbu++-81b7d806028bd484e2765cbc57b9677544bf52b2.tar.bz2
libbu++-81b7d806028bd484e2765cbc57b9677544bf52b2.tar.xz
libbu++-81b7d806028bd484e2765cbc57b9677544bf52b2.zip
Hmmm, the newline wasn't causing a flush, that's just silly, I should know
better.
Diffstat (limited to 'src/formatter.cpp')
-rw-r--r--src/formatter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/formatter.cpp b/src/formatter.cpp
index 2e3aee2..ef0f728 100644
--- a/src/formatter.cpp
+++ b/src/formatter.cpp
@@ -243,6 +243,7 @@ Bu::Formatter &Bu::operator<<( Bu::Formatter &f, Bu::Formatter::Special s )
243 char ci = f.getIndentChar(); 243 char ci = f.getIndentChar();
244 for( int j = 0; j < f.getIndent(); j++ ) 244 for( int j = 0; j < f.getIndent(); j++ )
245 f.write( &ci, 1 ); 245 f.write( &ci, 1 );
246 f.doFlush();
246 } 247 }
247 break; 248 break;
248 249