From 59690513123de8904eef2a03fe7fcaaed98b1b7b Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 10 Aug 2010 16:15:15 +0000 Subject: Fixed a really minor bug that's been bothering me for a while. The proper top level targets are now listed in the section headers on output. --- src/viewdefault.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/viewdefault.cpp') diff --git a/src/viewdefault.cpp b/src/viewdefault.cpp index fdc1604..49ba7e8 100644 --- a/src/viewdefault.cpp +++ b/src/viewdefault.cpp @@ -69,6 +69,7 @@ void ViewDefault::beginTarget( const Bu::FString &sProfile, bDispedTrg = false; iTotal = rTarget.getDepCount(); iCurrent = 0; + sTopTarget = rTarget.getOutputList().first(); } iDepth++; @@ -87,7 +88,7 @@ void ViewDefault::drawTargetHdr( const Bu::FString &sProfile, } bFirst = false; sio << C_BR_WHITE << " --- " << C_BR_CYAN << sProfile << " " - << rTarget.getOutputList().first() << C_BR_WHITE << " --- " + << sTopTarget << C_BR_WHITE << " --- " << C_RESET << sio.nl; } } -- cgit v1.2.3