[cairo] Documentation bug

Bryce Harrington bryce at osg.samsung.com
Mon Aug 21 21:42:50 UTC 2017


On Mon, Aug 21, 2017 at 08:44:34AM +0300, Артур Галямов wrote:
> Hi,
> 
> Tiny bug in documentation section of cairo_image_surface_create(),
> src/cairo-image-surface.c.
> 
> The leading `0.` in doc-comment causes html docs [1] to contain:
> 
> >    Initially the surface contents are all
> >      1. (Specifically...
> 
> while it should read:
> 
> >    Initially the surface contents are all 0. (Specifically...
> 
> I think `0.` can be moved onto previous line to prevent this.

Thanks, pushed the fix.

Bryce
 
> 
> 
> [1]
> https://www.cairographics.org/manual/cairo-Image-Surfaces.html#cairo-image-surface-create
> 
> ---
> 
> (I know what mailing lists is and how to use it, but going through so much
> hassle to file a simple fix and not be able to point to the exact line in
> code is just rollupmyeye-ing. I even filed an issue to the wrong repo
> first, because it was the only thing google spits out for
> cairo-image-surface.c. I'm not even sure formatting is preserved by the
> list or gmail, so ymmw)



More information about the cairo mailing list