diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2007-11-23 22:58:19 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2007-11-23 22:58:19 +0000 |
| commit | cd215f0da23e16c3f1a7200f2b9f67f23c9b4be7 (patch) | |
| tree | ef4b144cbc9a68110c1ea6a0b2eb73be2cbd02bb /src/fstring.h | |
| parent | b5b68088f28b2593bfbf910a46fd52775007e8b3 (diff) | |
| download | libbu++-cd215f0da23e16c3f1a7200f2b9f67f23c9b4be7.tar.gz libbu++-cd215f0da23e16c3f1a7200f2b9f67f23c9b4be7.tar.bz2 libbu++-cd215f0da23e16c3f1a7200f2b9f67f23c9b4be7.tar.xz libbu++-cd215f0da23e16c3f1a7200f2b9f67f23c9b4be7.zip | |
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.
Diffstat (limited to 'src/fstring.h')
| -rw-r--r-- | src/fstring.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
| 246 | { | 246 | { |
| 247 | if( nLength == nNewSize ) | 247 | if( nLength == nNewSize ) |
| 248 | return; | 248 | return; |
| 249 | if( nNewSize < 0 ) | ||
| 250 | nNewSize = 0; | ||
| 249 | 251 | ||
| 250 | flatten(); | 252 | flatten(); |
| 251 | 253 | ||
