ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/Search/Outputer.cpp
(Generate patch)

Comparing trunk/Search/Outputer.cpp (file contents):
Revision 207 by douglas, 2003-07-17T20:52:39-07:00 vs.
Revision 211 by douglas, 2003-07-19T18:46:12-07:00

# Line 46 | Line 46
46   //
47   // Douglas Thrift
48   //
49 < // $Id: Outputer.cpp,v 1.10 2003/07/18 03:52:39 douglas Exp $
49 > // $Id: Outputer.cpp,v 1.11 2003/07/20 01:46:12 douglas Exp $
50  
51   #include "Outputer.h"
52  
# Line 173 | Line 173 | void Outputer::body()
173                  string description = webpage.getDescription();
174                  ostringstream size;
175  
176 <                size.precision(1);
176 >                size.precision(0);
177 >                size.setf(ios_base::fixed, ios_base::floatfield);
178                  size << double(webpage.getSize()) / double(1024) << "k";
179  
180                  entities(address, '&', "&amp;");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines