Currently OleLoadPictureEx() ignores the caller-desired icon size and always loads the 32x32 icon, which sometimes has to be scaled down to 16x16, resulting in quality loss. Change this to load the icon having the desired size, falling back to 32x32 only when the desired size is unavailable.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=20732
Signed-off-by: Damjan Jovanovic damjan.jov@gmail.com --- dlls/oleaut32/olepicture.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-)