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

Akihiro Sagawa sagawa.aki at gmail.com
Thu Jul 20 08:56:40 CDT 2017


To avoid division by zero (Bug 43369).

In version 3, refine a testcase.
The refresh rate value is neither zero nor negative, thus we should test both.
Thanks for reviewing.

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

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


More information about the wine-patches mailing list