From daa25c26e99eb62a4ce499f8079b15734987ac0d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 30 Apr 2010 05:44:39 +0000 Subject: Many minor fixes to the caching system, membuf, and others, but mainly some important fixes for real-life use of the system. --- src/membuf.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/membuf.cpp') 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() return sBuf; } +void Bu::MemBuf::setString( const Bu::FString &sNewData ) +{ + sBuf = sNewData; + nPos = 0; +} + -- cgit v1.2.3