aboutsummaryrefslogtreecommitdiff
path: root/src/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/context.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/context.cpp b/src/context.cpp
index bc48def..e9330e5 100644
--- a/src/context.cpp
+++ b/src/context.cpp
@@ -232,6 +232,8 @@ Bu::FString Context::expand( const Bu::FString &sInS )
232 char buf[4096]; 232 char buf[4096];
233 sBuf.append( buf, p.read( buf, 4096 ) ); 233 sBuf.append( buf, p.read( buf, 4096 ) );
234 } 234 }
235 sBuf = sBuf.replace("\n", " ").replace("\r", " ");
236 sBuf.trimBack(' ');
235 sRet.append( sBuf ); 237 sRet.append( sBuf );
236 } catch(...) 238 } catch(...)
237 { 239 {