Mercurial > dwindows
comparison 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 |
comparison
equal
deleted
inserted
replaced
2099:296a3872ddd9 | 2100:12a9546c3e03 |
---|---|
13447 #endif | 13447 #endif |
13448 /* These features are supported and configurable */ | 13448 /* These features are supported and configurable */ |
13449 #ifdef AEROGLASS | 13449 #ifdef AEROGLASS |
13450 case DW_FEATURE_DARK_MODE: | 13450 case DW_FEATURE_DARK_MODE: |
13451 { | 13451 { |
13452 if(state >= 0 && state <= 4) | 13452 if(state >= 0 && state <= 3) |
13453 { | 13453 { |
13454 _DW_DARK_MODE_ALLOWED = state; | 13454 _DW_DARK_MODE_ALLOWED = state; |
13455 return DW_ERROR_NONE; | 13455 return DW_ERROR_NONE; |
13456 } | 13456 } |
13457 return DW_ERROR_GENERAL; | 13457 return DW_ERROR_GENERAL; |