Protect the name id.

Patch by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33065 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2011-05-19 07:37:29 +00:00
parent 6c0d48eeec
commit 1bdcc0b82d
4 changed files with 17 additions and 5 deletions

View file

@ -417,8 +417,8 @@ static float floatToUserSpace(NSAffineTransform *ctm, float f)
{
if (_ct)
{
GS_BEGINITEMBUF(chars, length + 1, char);
device_color_t c;
GS_BEGINITEMBUF(chars, length + 1, char);
c = strokeColor;
gsColorToRGB(&c);
@ -599,9 +599,9 @@ static float floatToUserSpace(NSAffineTransform *ctm, float f)
{
if (_ct)
{
GS_BEGINITEMBUF(dpat, size, double);
double doffset = (double)floatFromUserSpace(ctm, foffset);
int i;
GS_BEGINITEMBUF(dpat, size, double);
i = size;
while (i)