From d66465a69fdc7922fa372e80cfae23e2fe3a6396 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sun, 16 May 2010 05:19:48 +0000 Subject: Works with the minor changes that have happened to libbu++, it's ready for new features and fixes :) --- src/viewdefault.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/viewdefault.cpp') diff --git a/src/viewdefault.cpp b/src/viewdefault.cpp index df7be13..fdc1604 100644 --- a/src/viewdefault.cpp +++ b/src/viewdefault.cpp @@ -131,7 +131,7 @@ void ViewDefault::cmdStarted( const Bu::FString &/*sCmd*/ ) void ViewDefault::cmdFinished( const Bu::FString &sStdOut, const Bu::FString &sStdErr, long /*iExit*/ ) { - if( sStdOut ) + if( sStdOut.isSet() ) { Bu::FString::const_iterator b; b = sStdOut.begin(); @@ -147,7 +147,7 @@ void ViewDefault::cmdFinished( const Bu::FString &sStdOut, } sio << C_BR_GREEN << "\\-----" << C_RESET << sio.nl; } - if( sStdErr ) + if( sStdErr.isSet() ) { Bu::FString::const_iterator b; b = sStdErr.begin(); -- cgit v1.2.3