Ignore:
Timestamp:
04/21/10 16:46:18 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc

    r9410 r9574  
    12231223    // in the same thread
    12241224    //
    1225     if (fMutex->TryLock())
     1225    const Int_t rc = fMutex->TryLock();
     1226    if (rc==13)
     1227        gLog << warn << "MStatusDisplay::UpdateTab - mutex is already locked by this thread." << endl;
     1228
     1229    if (rc)
    12261230        return;
    12271231
     
    26382642    {
    26392643        Bool_t found = kFALSE;
    2640         if (name.Index("%%%%name%%%%"))
     2644        if (name.Index("%%%%name%%%%")>=0)
    26412645        {
    26422646            name.ReplaceAll("%%name%%", c->GetName());
     
    26442648        }
    26452649
    2646         if (name.Index("%%%%title%%%%"))
     2650        if (name.Index("%%%%title%%%%")>=0)
    26472651        {
    26482652            name.ReplaceAll("%%title%%", c->GetTitle());
     
    26502654        }
    26512655
    2652         if (name.Index("%%%%tab%%%%"))
     2656        if (name.Index("%%%%tab%%%%")>=0)
    26532657        {
    26542658            name.ReplaceAll("%%tab%%", MString::Format("%d", i));
Note: See TracChangeset for help on using the changeset viewer.