Ignore:
Timestamp:
05/23/12 21:32:16 (12 years ago)
Author:
tbretz
Message:
Small improvements for the output of the dimctrl messages
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/smartfact.cc

    r13849 r13850  
    475475            return;
    476476
    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 ");
    479479
    480480        ostringstream tst;
     
    482482
    483483        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>())+"</->";
    486486
    487487        fControlMessageHist.push_back(msg);
Note: See TracChangeset for help on using the changeset viewer.