]> git.tdb.fi Git - builder.git/blobdiff - source/action.cpp
Reorder class members
[builder.git] / source / action.cpp
index 7ed0da1efc0b9c0c12d0d199835adbb83fac9228..31b13906acee48a3c493e25efc9e2e7aa9a0f30b 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007, 2009  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #include <iomanip>
 #include <iostream>
 #include <sstream>
@@ -9,7 +16,7 @@ void Action::announce(const string &pkg, const string &tool, const string &tgt)
 {
        ostringstream line;
        line<<left;
-       line<<'['<<setw(10)<<pkg<<"] ";
+       line<<'['<<setw(10)<<pkg.substr(0, 10)<<"] ";
        line<<'['<<setw(4)<<tool<<"] ";
        line<<tgt;
        cout<<line.str()<<'\n';