~chasedouglas/ubuntu/maverick/xorg-server/multitouch

« back to all changes in this revision

Viewing changes to mi/mipolypnt.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau, Julien Cristau, Christopher James Halse Rogers
  • Date: 2010-06-07 23:22:48 UTC
  • mfrom: (0.9.4 upstream)
  • mto: This revision was merged to the branch mainline in revision 187.
  • Revision ID: james.westby@ubuntu.com-20100607232248-x9ob0sjy8bwkc2ki
Tags: 2:1.8.1.901-1
[ Julien Cristau ]
* New upstream release
* Merge changes from 2:1.7.7-2.

[ Christopher James Halse Rogers ]
* 16-xaa-fbcomposite-fix-negative-size.diff:
  - mi hunk merged upstream.  Update to keep just the fbpict.c hunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    int                 i;
74
74
    xPoint              *ppt;
75
75
 
 
76
    if(!(pwidthInit = xalloc(npt * sizeof(int))))
 
77
        return;
 
78
 
76
79
    /* make pointlist origin relative */
77
80
    if (mode == CoordModePrevious)
78
81
    {
107
110
        DoChangeGC(pGC, GCFillStyle, &fsNew, 0);
108
111
        ValidateGC(pDrawable, pGC);
109
112
    }
110
 
    if(!(pwidthInit = xalloc(npt * sizeof(int))))
111
 
        return;
112
113
    pwidth = pwidthInit;
113
114
    for(i = 0; i < npt; i++)
114
115
        *pwidth++ = 1;