Changeset 13850 for trunk/FACT++/src/smartfact.cc
- Timestamp:
- 05/23/12 21:32:16 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/smartfact.cc
r13849 r13850 475 475 return; 476 476 477 const string str = fControlMessageHist.size()>0 ? fControlMessageHist.back() : " <pre> : : </pre>";478 const string time = "<pre>"+d.GetTimeAsStr("%H:%M:%S")+"</pre> ";477 const string str = fControlMessageHist.size()>0 ? fControlMessageHist.back() : " "; 478 const string time = d.GetTimeAsStr("%H:%M:%S "); 479 479 480 480 ostringstream tst; … … 482 482 483 483 string msg; 484 msg += str.substr(0, time.length())==time ? " <pre> </pre>" : time;485 msg += d.Ptr<char>();484 msg += str.substr(0, time.length())==time ? "--:--:-- " : time; 485 msg += "<->"+string(d.Ptr<char>())+"</->"; 486 486 487 487 fControlMessageHist.push_back(msg);
Note:
See TracChangeset
for help on using the changeset viewer.