diff options
author | marha <marha@users.sourceforge.net> | 2010-05-22 13:47:02 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-05-22 13:47:02 +0000 |
commit | 23e2ddeb0f81d5ee9c6d01cf0b768eeb1c27555c (patch) | |
tree | 984592e1d974c53df275b7c1226516406bc4a86d /xorg-server/dix/dixfonts.c | |
parent | 1a038249967b51878bc492df42e24b2af797bb85 (diff) | |
download | vcxsrv-23e2ddeb0f81d5ee9c6d01cf0b768eeb1c27555c.tar.gz vcxsrv-23e2ddeb0f81d5ee9c6d01cf0b768eeb1c27555c.tar.bz2 vcxsrv-23e2ddeb0f81d5ee9c6d01cf0b768eeb1c27555c.zip |
xserver git update 22/5/2010
Diffstat (limited to 'xorg-server/dix/dixfonts.c')
-rw-r--r-- | xorg-server/dix/dixfonts.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xorg-server/dix/dixfonts.c b/xorg-server/dix/dixfonts.c index 239431e2a..d6ddf04e1 100644 --- a/xorg-server/dix/dixfonts.c +++ b/xorg-server/dix/dixfonts.c @@ -1173,7 +1173,6 @@ int doPolyText(ClientPtr client, PTclosurePtr c)
{
FontPtr pFont = c->pGC->font, oldpFont;
- Font fid, oldfid;
int err = Success, lgerr; /* err is in X error, not font error, space */
enum { NEVER_SLEPT, START_SLEEP, SLEEPING } client_state = NEVER_SLEPT;
FontPathElementPtr fpe;
@@ -1221,6 +1220,7 @@ doPolyText(ClientPtr client, PTclosurePtr c) {
if (*c->pElt == FontChange)
{
+ Font fid;
if (c->endReq - c->pElt < FontShiftSize)
{
err = BadLength;
@@ -1228,7 +1228,6 @@ doPolyText(ClientPtr client, PTclosurePtr c) }
oldpFont = pFont;
- oldfid = fid;
fid = ((Font)*(c->pElt+4)) /* big-endian */
| ((Font)*(c->pElt+3)) << 8
@@ -1238,9 +1237,8 @@ doPolyText(ClientPtr client, PTclosurePtr c) client, DixUseAccess);
if (err != Success)
{
- /* restore pFont and fid for step 4 (described below) */
+ /* restore pFont for step 4 (described below) */
pFont = oldpFont;
- fid = oldfid;
/* If we're in START_SLEEP mode, the following step
shortens the request... in the unlikely event that
|