fixed char* comparison bug.

This commit is contained in:
2025-10-01 09:38:17 +02:00
parent df7b8433e1
commit 32b49e7ac8

View File

@@ -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();
} }