Module: wine Branch: master Commit: 1e88ee503040bf586b9415a5e5c0e927ee93439e URL: http://source.winehq.org/git/wine.git/?a=commit;h=1e88ee503040bf586b9415a5e5...
Author: Vincent Povirk vincent@codeweavers.com Date: Tue Apr 28 18:08:54 2009 -0500
gdiplus: Implement GdipGetLineBlendCount.
---
dlls/gdiplus/brush.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c index eb0df03..20a440c 100644 --- a/dlls/gdiplus/brush.c +++ b/dlls/gdiplus/brush.c @@ -1163,14 +1163,14 @@ GpStatus WINGDIPAPI GdipGetLineBlend(GpLineGradient *brush, REAL *factors,
GpStatus WINGDIPAPI GdipGetLineBlendCount(GpLineGradient *brush, INT *count) { - static int calls; - TRACE("(%p, %p)\n", brush, count);
- if(!(calls++)) - FIXME("not implemented\n"); + if (!brush || !count) + return InvalidParameter;
- return NotImplemented; + *count = brush->blendcount; + + return Ok; }
GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient *line,