fixed char* comparison bug.

This commit is contained in:
2025-10-01 09:38:17 +02:00
parent 632527c3eb
commit 379471811a

View File

@@ -964,7 +964,7 @@ Bool_t TMusrRunHeader::ExtractAll(TDirectory *dir)
TObjString *entry;
// clean up all internal structures - just in case this is called multiple times
if (dir->GetName() == "RunHeader") {
if (!strcmp(dir->GetName(), "RunHeader")) {
CleanUp();
}