[PATCH] uxtheme: Fix off-by-one error in array size.

Mark Harmstone hellas at burntcomma.com
Sat Apr 4 05:35:43 CDT 2015

If the last item is TMT_LASTCOLOR and the first is TMT_FIRSTCOLOR, the
total number of items is TMT_LASTCOLOR - TMT_FIRSTCOLOR + 1.

 dlls/uxtheme/msstyles.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-uxtheme-Fix-off-by-one-error-in-array-size.patch
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150404/8b1401d4/attachment.bin>

More information about the wine-patches mailing list