X-Git-Url: https://code.delx.au/refind/blobdiff_plain/122d1c4843aaeb744f6f14d706f9e2cee7aa4460..75afe82dbf9803baa447499a1e7942a4ca342535:/refind/lib.c?ds=sidebyside diff --git a/refind/lib.c b/refind/lib.c index dadce36..1930e07 100644 --- a/refind/lib.c +++ b/refind/lib.c @@ -1275,11 +1275,12 @@ BOOLEAN DirIterNext(IN OUT REFIT_DIR_ITER *DirIter, IN UINTN FilterMode, IN CHAR while (KeepGoing && (OnePattern = FindCommaDelimited(FilePattern, i++)) != NULL) { if (MetaiMatch(DirIter->LastFileInfo->FileName, OnePattern)) KeepGoing = FALSE; +// Print(L"%s did%s match %s\n", DirIter->LastFileInfo->FileName, KeepGoing ? L" not" : L"", OnePattern); } // while // else continue loop } else break; - } while (KeepGoing); + } while (KeepGoing && FilePattern); *DirEntry = DirIter->LastFileInfo; return TRUE;