]> git.pld-linux.org Git - packages/X11.git/blob - x11r6.9.0-mitri.diff
- original from http://xorg.freedesktop.org/releases/X11R6.9.0/patches/x11r6.9.0...
[packages/X11.git] / x11r6.9.0-mitri.diff
1 Index: programs/Xserver/render/mitri.c
2 ===================================================================
3 RCS file: /cvs/xorg/xc/programs/Xserver/render/mitri.c,v
4 retrieving revision 1.5
5 diff -u -r1.5 mitri.c
6 --- programs/Xserver/render/mitri.c     3 Jul 2005 07:02:08 -0000       1.5
7 +++ programs/Xserver/render/mitri.c     30 Apr 2006 20:19:57 -0000
8 @@ -145,7 +145,7 @@
9      if (npoint < 3)
10         return;
11      ntri = npoint - 2;
12 -    tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle));
13 +    tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle));
14      if (!tris)
15         return;
16      for (tri = tris; npoint >= 3; npoint--, points++, tri++)
17 @@ -177,7 +177,7 @@
18      if (npoint < 3)
19         return;
20      ntri = npoint - 2;
21 -    tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle));
22 +    tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle));
23      if (!tris)
24         return;
25      first = points++;
This page took 0.035581 seconds and 3 git commands to generate.