[PATCH] uxtheme: assume imagecount to be 1 if unspecified
Mark Harmstone
hellas at burntcomma.com
Sat Feb 28 14:22:27 CST 2015
This patch changes UXTHEME_LoadImage so that if the value of imagecount can't be
less than 1. If TMT_IMAGECOUNT is unspecified GetThemeInt will return 0, leading
to a divide by zero error a few lines later on.
---
dlls/uxtheme/draw.c | 3 +++
1 file changed, 3 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-uxtheme-assume-imagecount-to-be-1-if-unspecified.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150228/bdfabc33/attachment.bin>
More information about the wine-patches
mailing list