From 97c0fcbbef19012f825cba0fc3f16037322ce84c Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 21 Dec 2009 22:24:48 +0000 Subject: We're getting closer and closer, qt4 is more configurable and gets QT flags for you for CXXFLAGS and LDFLAGS, added a bunch more stuff and fixed a strange function input bug. --- src/context.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/context.cpp') 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 ) char buf[4096]; sBuf.append( buf, p.read( buf, 4096 ) ); } + sBuf = sBuf.replace("\n", " ").replace("\r", " "); + sBuf.trimBack(' '); sRet.append( sBuf ); } catch(...) { -- cgit v1.2.3