Changeset 9574 for trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
- Timestamp:
- 04/21/10 16:46:18 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
r9410 r9574 1223 1223 // in the same thread 1224 1224 // 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) 1226 1230 return; 1227 1231 … … 2638 2642 { 2639 2643 Bool_t found = kFALSE; 2640 if (name.Index("%%%%name%%%%") )2644 if (name.Index("%%%%name%%%%")>=0) 2641 2645 { 2642 2646 name.ReplaceAll("%%name%%", c->GetName()); … … 2644 2648 } 2645 2649 2646 if (name.Index("%%%%title%%%%") )2650 if (name.Index("%%%%title%%%%")>=0) 2647 2651 { 2648 2652 name.ReplaceAll("%%title%%", c->GetTitle()); … … 2650 2654 } 2651 2655 2652 if (name.Index("%%%%tab%%%%") )2656 if (name.Index("%%%%tab%%%%")>=0) 2653 2657 { 2654 2658 name.ReplaceAll("%%tab%%", MString::Format("%d", i));
Note:
See TracChangeset
for help on using the changeset viewer.