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

Akihiro Sagawa sagawa.aki at gmail.com
Fri Jul 21 08:58:04 CDT 2017


To avoid division by zero (Bug 43369).

In version 4, use hdc instead of ref_dc in tests.
Thanks for reviewing so many times.

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

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


More information about the wine-patches mailing list