user32: dialog16: Add DDL_EXCLUSIVE flag only when flagset equals DDL_DRIVES, not merely when it contains the flag
Alex Villacís Lasso
a_villacis at palosanto.com
Mon Jun 1 12:07:52 CDT 2009
I have noticed that DlgDirList() will not list files indicated by the
filter when the flags DDL_DRIVES|DDL_DIRECTORY are specified together
for a 16-bit app. The same app displays the files correctly in Windows
98. Here is a tentative patch that fixes the problem for me, but I would
like to receive confirmation that this fixes the issue in the correct
place, as well as confirmation that this works the same in other Windows
versions (I have tested WinXP SP2 with identical results). A test
application that demonstrates the bug, as well as a screenshot that
displays the bug, have been posted at the referenced bug report.
* Add DDL_EXCLUSIVE flag only when flagset equals DDL_DRIVES, not merely
when it contains the flag.
perl -e '$x=2.3;printf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the wine-patches