Commit c5b499d3 authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

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

parent 304b4152
...@@ -438,7 +438,11 @@ BOOL HCR_GetFolderAttributes(LPCITEMIDLIST pidlFolder, LPDWORD pdwAttributes) ...@@ -438,7 +438,11 @@ BOOL HCR_GetFolderAttributes(LPCITEMIDLIST pidlFolder, LPDWORD pdwAttributes)
TRACE("(pidlFolder=%p, pdwAttributes=%p)\n", pidlFolder, pdwAttributes); TRACE("(pidlFolder=%p, pdwAttributes=%p)\n", pidlFolder, pdwAttributes);
if (!_ILIsPidlSimple(pidlFolder)) { 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; return FALSE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment