Changeset 10397


Ignore:
Timestamp:
Apr 18, 2011, 5:13:57 PM (9 years ago)
Author:
tbretz
Message:
Some cosmetics.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/FactGui.h

    r10394 r10397  
    303303
    304304
    305         out << "<font color=";
     305        out << "<font color='";
    306306
    307307        switch (qos)
    308308        {
    309         case kMessage: out << "'black'>"   ""; break;
    310         case kInfo:    out << "'green'>"   ""; break;
    311         case kWarn:    out << "'#FF6600'>" ""; break;
    312         case kError:   out << "'maroon'>"  ""; break;
    313         case kFatal:   out << "'maroon'>"  ""; break;
    314         case kDebug:   out << "'navy'>"    ""; break;
    315         default:       out << "'navy'>"    ""; break;
    316         }
    317         out << time.GetAsStr() << " - " << text << "</font>";
     309        case kMessage: out << "black";  break;
     310        case kInfo:    out << "green";  break;
     311        case kWarn:    out << "#FF6600"; break;
     312        case kError:   out << "maroon"; break;
     313        case kFatal:   out << "maroon"; break;
     314        case kDebug:   out << "navy";    break;
     315        default:       out << "navy";    break;
     316        }
     317        out << "'>" << time.GetAsStr() << " - " << text << "</font>";
    318318
    319319        fLogText->append(out.str().c_str());
Note: See TracChangeset for help on using the changeset viewer.