On Thu, Aug 26, 2021 at 12:09:38PM +0200, Jacek Caban wrote:
And use it for GetCharWidthA.
Signed-off-by: Jacek Caban jacek@codeweavers.com
dlls/gdi32/driver.c | 3 ++- dlls/gdi32/font.c | 29 ++++++++++++++++------------- dlls/gdi32/text.c | 38 ++++++++++++-------------------------- dlls/wineps.drv/builtin.c | 24 +++++++++++++----------- dlls/wineps.drv/psdrv.h | 2 +- include/wine/gdi_driver.h | 4 ++-- 6 files changed, 46 insertions(+), 54 deletions(-)
diff --git a/dlls/gdi32/driver.c b/dlls/gdi32/driver.c index f370d088585..5c09679b754 100644 --- a/dlls/gdi32/driver.c +++ b/dlls/gdi32/driver.c @@ -380,7 +380,8 @@ static BOOL CDECL nulldrv_GetCharABCWidthsI( PHYSDEV dev, UINT first, UINT count return FALSE; }
-static BOOL CDECL nulldrv_GetCharWidth( PHYSDEV dev, UINT first, UINT last, INT *buffer ) +static BOOL CDECL nulldrv_GetCharWidth( PHYSDEV dev, UINT first, UINT last,
const WCHAR *chars, INT *buffer )
Just for consistency, I've changed the third parameter's name to "count" and sent in v2.
Huw.