aboutsummaryrefslogtreecommitdiff
path: root/src/membuf.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-04-30 05:44:39 +0000
committerMike Buland <eichlan@xagasoft.com>2010-04-30 05:44:39 +0000
commitdaa25c26e99eb62a4ce499f8079b15734987ac0d (patch)
tree7b76a052f0bb1f5d72957838d12e0c49dfd7c093 /src/membuf.cpp
parent1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c (diff)
downloadlibbu++-daa25c26e99eb62a4ce499f8079b15734987ac0d.tar.gz
libbu++-daa25c26e99eb62a4ce499f8079b15734987ac0d.tar.bz2
libbu++-daa25c26e99eb62a4ce499f8079b15734987ac0d.tar.xz
libbu++-daa25c26e99eb62a4ce499f8079b15734987ac0d.zip
Many minor fixes to the caching system, membuf, and others, but mainly some
important fixes for real-life use of the system.
Diffstat (limited to 'src/membuf.cpp')
-rw-r--r--src/membuf.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/membuf.cpp b/src/membuf.cpp
index fc2ebfa..0c1c441 100644
--- a/src/membuf.cpp
+++ b/src/membuf.cpp
@@ -145,3 +145,9 @@ Bu::FString &Bu::MemBuf::getString()
145 return sBuf; 145 return sBuf;
146} 146}
147 147
148void Bu::MemBuf::setString( const Bu::FString &sNewData )
149{
150 sBuf = sNewData;
151 nPos = 0;
152}
153