Skip to content
Snippets Groups Projects
Commit c5b499d3 authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard
Browse files

shell32: Only print "HCR_GetFolderAttributes should be called for simple PIDL's" once.

parent 304b4152
No related branches found
No related tags found
No related merge requests found
......@@ -438,7 +438,11 @@ BOOL HCR_GetFolderAttributes(LPCITEMIDLIST pidlFolder, LPDWORD pdwAttributes)
TRACE("(pidlFolder=%p, pdwAttributes=%p)\n", pidlFolder, pdwAttributes);
if (!_ILIsPidlSimple(pidlFolder)) {
ERR("HCR_GetFolderAttributes should be called for simple PIDL's only!\n");
static int firstHit = 1;
if (firstHit) {
ERR("HCR_GetFolderAttributes should be called for simple PIDL's only!\n");
firstHit = 0;
}
return FALSE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment