mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
mlang: Return the correct count in IMLangFontLink_GetStrCodePages when aborting early.
This commit is contained in:
parent
aea6418ff0
commit
2a48ef1d09
@ -1939,7 +1939,7 @@ static HRESULT WINAPI fnIMLangFontLink_GetStrCodePages(
|
||||
}
|
||||
|
||||
if (pdwCodePages) *pdwCodePages = cps;
|
||||
if (pcchCodePages) *pcchCodePages = i;
|
||||
if (pcchCodePages) *pcchCodePages = min( i + 1, cchSrc );
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user