From 88b4263a61a06449b7a5dd4ffa10282da6ae7a13 Mon Sep 17 00:00:00 2001 From: Justin Chevrier Date: Sat, 27 Mar 2010 17:55:26 -0400 Subject: [PATCH] include: Fix GdipSetPathGradientSurroundColorsWithCount definition. --- dlls/gdiplus/brush.c | 2 +- include/gdiplusflat.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c index 287d9d8ce65..5582a952b83 100644 --- a/dlls/gdiplus/brush.c +++ b/dlls/gdiplus/brush.c @@ -1532,7 +1532,7 @@ GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient *grad, } GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient - *grad, ARGB *argb, INT *count) + *grad, GDIPCONST ARGB *argb, INT *count) { static int calls; diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index cd97a70332e..96723674e48 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -561,7 +561,7 @@ GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient*,REAL,REAL); GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient*,BOOL); GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient*,REAL,REAL); GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient*, - ARGB*,INT*); + GDIPCONST ARGB*,INT*); GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient*,GpWrapMode); /* PathIterator */