[PATCH 1/2] libXft: Fix variable assignment.

Alan Coopersmith alan.coopersmith at oracle.com
Tue Jan 18 19:08:58 PST 2011


On 01/17/11 01:32 PM, Roberto Branciforti wrote:
> Signed-off-by: Roberto Branciforti <rbbrnc at gmail.com>
> ---
>  src/xftdpy.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/xftdpy.c b/src/xftdpy.c
> index 0553515..cd50358 100644
> --- a/src/xftdpy.c
> +++ b/src/xftdpy.c
> @@ -160,7 +160,7 @@ _XftDisplayInfoGet (Display *dpy, FcBool createIfNecessary)
>      info->next = _XftDisplayInfo;
>      _XftDisplayInfo = info;
>  
> -    info->glyph_memory = NULL;
> +    info->glyph_memory = 0;
>      info->max_glyph_memory = XftDefaultGetInteger (dpy,
>  						   XFT_MAX_GLYPH_MEMORY, 0,
>  						   XFT_DPY_MAX_GLYPH_MEMORY);

Thanks for the patch - pushed to git master.

BTW, I never saw a patch 2 of 2, just this one marked 1 of 2.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list