changeset 2298:1cffb66cf7b8

Win: The taskbar feature test on Windows wasn't quite right.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 08 Feb 2021 02:09:40 +0000
parents 48a541ffa84d
children 27c20fa1615e
files win/dw.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/win/dw.c	Sun Feb 07 22:42:48 2021 +0000
+++ b/win/dw.c	Mon Feb 08 02:09:40 2021 +0000
@@ -13850,6 +13850,7 @@
 #endif
         case DW_FEATURE_CONTAINER_STRIPE:
         case DW_FEATURE_MDI:
+        case DW_FEATURE_TASK_BAR:  
             return DW_FEATURE_ENABLED;
 #ifdef BUILD_TOAST
         case DW_FEATURE_NOTIFICATION:
@@ -13891,7 +13892,6 @@
             return DW_FEATURE_UNSUPPORTED;
         }
 #endif
-        case DW_FEATURE_TASK_BAR:  
         default:
             return DW_FEATURE_UNSUPPORTED;
     }
@@ -13927,6 +13927,7 @@
 #endif
         case DW_FEATURE_CONTAINER_STRIPE:
         case DW_FEATURE_MDI:
+        case DW_FEATURE_TASK_BAR:  
             return DW_ERROR_GENERAL;
 #ifdef BUILD_TOAST
         case DW_FEATURE_NOTIFICATION:
@@ -13970,8 +13971,6 @@
             return DW_ERROR_GENERAL;
         }
 #endif
-        case DW_FEATURE_TASK_BAR:  
-            return DW_ERROR_GENERAL;
         default:
             return DW_FEATURE_UNSUPPORTED;
     }