diff win/dw.c @ 2100:12a9546c3e03

Mac: Fix returning the correct value on query after Windows changes. Mac: Also fix some Xcode warnings regarding Mojave 10.14. Win: Fix a minor typo in the last commit
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 12 Jun 2020 20:55:01 +0000
parents 296a3872ddd9
children 6e55c6f8d816
line wrap: on
line diff
--- a/win/dw.c	Fri Jun 12 20:40:47 2020 +0000
+++ b/win/dw.c	Fri Jun 12 20:55:01 2020 +0000
@@ -13449,7 +13449,7 @@
 #ifdef AEROGLASS
         case DW_FEATURE_DARK_MODE:
         {
-            if(state >= 0 && state <= 4)
+            if(state >= 0 && state <= 3)
             {
                 _DW_DARK_MODE_ALLOWED = state;
                 return DW_ERROR_NONE;