Commit ee972bf0 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

wineps: Fix return value in path drawing routines.

parent 4216179e
...@@ -490,7 +490,6 @@ static BOOL paint_path( PHYSDEV dev, BOOL stroke, BOOL fill ) ...@@ -490,7 +490,6 @@ static BOOL paint_path( PHYSDEV dev, BOOL stroke, BOOL fill )
{ {
POINT *points; POINT *points;
BYTE *types; BYTE *types;
BOOL ret = FALSE;
int i, size = GetPath( dev->hdc, NULL, NULL, 0 ); int i, size = GetPath( dev->hdc, NULL, NULL, 0 );
if (size == -1) return FALSE; if (size == -1) return FALSE;
...@@ -536,7 +535,7 @@ static BOOL paint_path( PHYSDEV dev, BOOL stroke, BOOL fill ) ...@@ -536,7 +535,7 @@ static BOOL paint_path( PHYSDEV dev, BOOL stroke, BOOL fill )
done: done:
HeapFree( GetProcessHeap(), 0, points ); HeapFree( GetProcessHeap(), 0, points );
HeapFree( GetProcessHeap(), 0, types ); HeapFree( GetProcessHeap(), 0, types );
return ret; return TRUE;
} }
/*********************************************************************** /***********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment