aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-08-10 16:15:15 +0000
committerMike Buland <eichlan@xagasoft.com>2010-08-10 16:15:15 +0000
commit59690513123de8904eef2a03fe7fcaaed98b1b7b (patch)
treef8d22e2787dbf27492996d2ad0f847cca4ceccdc
parent7cd3655e2e3edc630b21e495438c4b324c50c759 (diff)
downloadbuild-59690513123de8904eef2a03fe7fcaaed98b1b7b.tar.gz
build-59690513123de8904eef2a03fe7fcaaed98b1b7b.tar.bz2
build-59690513123de8904eef2a03fe7fcaaed98b1b7b.tar.xz
build-59690513123de8904eef2a03fe7fcaaed98b1b7b.zip
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.
-rw-r--r--src/viewdefault.cpp3
-rw-r--r--src/viewdefault.h1
2 files changed, 3 insertions, 1 deletions
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,
69 bDispedTrg = false; 69 bDispedTrg = false;
70 iTotal = rTarget.getDepCount(); 70 iTotal = rTarget.getDepCount();
71 iCurrent = 0; 71 iCurrent = 0;
72 sTopTarget = rTarget.getOutputList().first();
72 } 73 }
73 iDepth++; 74 iDepth++;
74 75
@@ -87,7 +88,7 @@ void ViewDefault::drawTargetHdr( const Bu::FString &sProfile,
87 } 88 }
88 bFirst = false; 89 bFirst = false;
89 sio << C_BR_WHITE << " --- " << C_BR_CYAN << sProfile << " " 90 sio << C_BR_WHITE << " --- " << C_BR_CYAN << sProfile << " "
90 << rTarget.getOutputList().first() << C_BR_WHITE << " --- " 91 << sTopTarget << C_BR_WHITE << " --- "
91 << C_RESET << sio.nl; 92 << C_RESET << sio.nl;
92 } 93 }
93} 94}
diff --git a/src/viewdefault.h b/src/viewdefault.h
index 263b9d7..2c3db0e 100644
--- a/src/viewdefault.h
+++ b/src/viewdefault.h
@@ -42,6 +42,7 @@ private:
42 int iTotal; 42 int iTotal;
43 int iCurrent; 43 int iCurrent;
44 Bu::FString sCurProfile; 44 Bu::FString sCurProfile;
45 Bu::FString sTopTarget;
45}; 46};
46 47
47#endif 48#endif