From cd215f0da23e16c3f1a7200f2b9f67f23c9b4be7 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 23 Nov 2007 22:58:19 +0000 Subject: Added the Process stream class, this will allow us to do some really cool stuff coming up...it's just like popen only cool and managed, and streamey. --- src/fstring.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fstring.h') diff --git a/src/fstring.h b/src/fstring.h index ee6be28..8cccd5c 100644 --- a/src/fstring.h +++ b/src/fstring.h @@ -246,6 +246,8 @@ namespace Bu { if( nLength == nNewSize ) return; + if( nNewSize < 0 ) + nNewSize = 0; flatten(); -- cgit v1.2.3