[v2] gdi32: return non-zero v-refresh value for display devices.

Akihiro Sagawa sagawa.aki at gmail.com
Wed Jul 19 09:28:58 CDT 2017


To avoid division by zero (Bug 43369).

In version 2, I added a test as suggested by Huw, thanks.

Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
---
 dlls/gdi32/driver.c   | 2 +-
 dlls/gdi32/tests/dc.c | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-v2-gdi32-return-non-zero-v-refresh-value-for-display.patch
Type: text/x-patch
Size: 2121 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20170719/b0a9646a/attachment.bin>


More information about the wine-patches mailing list