Zhiyi Zhang : user32: Change slave to a more neutral word.
Alexandre Julliard
julliard at winehq.org
Wed Jun 17 15:54:00 CDT 2020
Module: wine
Branch: master
Commit: 2affb854e524dde962f983a36628f22fe9e165c7
URL: https://source.winehq.org/git/wine.git/?a=commit;h=2affb854e524dde962f983a36628f22fe9e165c7
Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date: Tue Jun 16 22:17:36 2020 +0800
user32: Change slave to a more neutral word.
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/sysparams.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c
index 82ed851364..768aeb5d4f 100644
--- a/dlls/user32/sysparams.c
+++ b/dlls/user32/sysparams.c
@@ -3910,7 +3910,7 @@ static BOOL update_monitor_cache(void)
HANDLE mutex = NULL;
DWORD state_flags;
BOOL ret = FALSE;
- BOOL mirrored_slave;
+ BOOL is_replica;
DWORD i = 0, j;
DWORD type;
@@ -3956,17 +3956,17 @@ static BOOL update_monitor_cache(void)
(BYTE *)&monitors[monitor_count].rcMonitor, sizeof(RECT), NULL, 0 ))
goto fail;
- /* Mirrored slave monitors also don't get enumerated */
- mirrored_slave = FALSE;
+ /* Replicas in mirroring monitor sets don't get enumerated */
+ is_replica = FALSE;
for (j = 0; j < monitor_count; j++)
{
if (EqualRect(&monitors[j].rcMonitor, &monitors[monitor_count].rcMonitor))
{
- mirrored_slave = TRUE;
+ is_replica = TRUE;
break;
}
}
- if (mirrored_slave)
+ if (is_replica)
continue;
if (!SetupDiGetDevicePropertyW( devinfo, &device_data, &WINE_DEVPROPKEY_MONITOR_RCWORK, &type,
More information about the wine-cvs
mailing list