[PATCH] include: Fix a typo in D2D1_WINDOW_STATE values.

Nikolay Sivov nsivov at codeweavers.com
Sun Jan 27 13:14:48 CST 2019


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---

I think 0/1 makes more sense in this context than fixing missing leading zeroes.

 include/d2d1.idl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/d2d1.idl b/include/d2d1.idl
index c9fb8f0b6b..08487fa6b0 100644
--- a/include/d2d1.idl
+++ b/include/d2d1.idl
@@ -274,8 +274,8 @@ typedef enum D2D1_FEATURE_LEVEL
 
 typedef enum D2D1_WINDOW_STATE
 {
-    D2D1_WINDOW_STATE_NONE = 0x0000000,
-    D2D1_WINDOW_STATE_OCCLUDED = 0x0000001,
+    D2D1_WINDOW_STATE_NONE = 0,
+    D2D1_WINDOW_STATE_OCCLUDED = 1,
     D2D1_WINDOW_STATE_FORCE_DWORD = 0xffffffff,
 } D2D1_WINDOW_STATE;
 
-- 
2.20.1




More information about the wine-devel mailing list