fixed char* comparison bug.
This commit is contained in:
2
src/external/MusrRoot/TMusrRunHeader.cpp
vendored
2
src/external/MusrRoot/TMusrRunHeader.cpp
vendored
@@ -964,7 +964,7 @@ Bool_t TMusrRunHeader::ExtractAll(TDirectory *dir)
|
|||||||
TObjString *entry;
|
TObjString *entry;
|
||||||
|
|
||||||
// clean up all internal structures - just in case this is called multiple times
|
// clean up all internal structures - just in case this is called multiple times
|
||||||
if (dir->GetName() == "RunHeader") {
|
if (!strcmp(dir->GetName(), "RunHeader")) {
|
||||||
CleanUp();
|
CleanUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user