[PATCH 9/9] usp10/usp10: Use assignment instead of CopyRect
Gabriel Ivăncescu
gabrielopcode at gmail.com
Fri Dec 28 06:23:05 CST 2018
Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
---
dlls/usp10/usp10.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index abc2605..8d41703 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -2227,7 +2227,7 @@ static HRESULT SS_ItemOut( SCRIPT_STRING_ANALYSIS ssa,
(cEnd >= 0 && analysis->pItem[iItem].iCharPos >= cEnd))
return S_OK;
- CopyRect(&crc,prc);
+ if (prc) crc = *prc;
if (fSelected)
{
BkMode = GetBkMode(analysis->hdc);
--
2.19.1
More information about the wine-devel
mailing list