From ee972bf06132811217ff084332d06f689a063ad3 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Tue, 25 Apr 2023 10:45:22 +0200 Subject: [PATCH] wineps: Fix return value in path drawing routines. --- dlls/wineps.drv/graphics.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/wineps.drv/graphics.c b/dlls/wineps.drv/graphics.c index fc7dcb9fec8..469a1587464 100644 --- a/dlls/wineps.drv/graphics.c +++ b/dlls/wineps.drv/graphics.c @@ -490,7 +490,6 @@ static BOOL paint_path( PHYSDEV dev, BOOL stroke, BOOL fill ) { POINT *points; BYTE *types; - BOOL ret = FALSE; int i, size = GetPath( dev->hdc, NULL, NULL, 0 ); if (size == -1) return FALSE; @@ -536,7 +535,7 @@ static BOOL paint_path( PHYSDEV dev, BOOL stroke, BOOL fill ) done: HeapFree( GetProcessHeap(), 0, points ); HeapFree( GetProcessHeap(), 0, types ); - return ret; + return TRUE; } /*********************************************************************** -- 2.11.4.GIT