goma /
wine /
c627a81a76f0853190702f95b73b8b42d07a8f92 shell32: Fix the logic in Control_LoadApplet determining when to use CPL_INQUIRE and when to use CPL_NEWINQUIRE.
Previously, the code would fail to get the name of an applet that didn't
return an icon for CPL_NEWINQUIRE and didn't return set either idName or
idIcon to a non-zero value for CPL_INQUIRE.
Fix this by sending CPL_INQUIRE first and loading any strings or icon
specified and then only fall back to CPL_NEWINQUIRE if any of the
required members were zero (i.e. CPL_DYNAMIC_RES) and then only fill in
these fields.
1 file changed