mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-24 20:55:49 +00:00
Merge branch 'master' into XACE-SELINUX
Conflicts: dix/dispatch.c dix/property.c hw/xfree86/common/xf86VidMode.c include/xkbsrv.h render/glyph.c xkb/xkbActions.c
This commit is contained in:
commit
a52c9b2a59
270 changed files with 1593 additions and 1827 deletions
|
|
@ -1398,7 +1398,7 @@ damageText (DrawablePtr pDrawable,
|
|||
|
||||
imageblt = (textType == TT_IMAGE8) || (textType == TT_IMAGE16);
|
||||
|
||||
charinfo = (CharInfoPtr *) ALLOCATE_LOCAL(count * sizeof(CharInfoPtr));
|
||||
charinfo = (CharInfoPtr *) xalloc(count * sizeof(CharInfoPtr));
|
||||
if (!charinfo)
|
||||
return x;
|
||||
|
||||
|
|
@ -1420,7 +1420,7 @@ damageText (DrawablePtr pDrawable,
|
|||
(*pGC->ops->PolyGlyphBlt)(pDrawable, pGC, x, y, n, charinfo,
|
||||
FONTGLYPHS(pGC->font));
|
||||
}
|
||||
DEALLOCATE_LOCAL(charinfo);
|
||||
xfree(charinfo);
|
||||
return x + w;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue