Fix Savannah bug #27442.
* src/raster/ftraster.c (ft_black_reset): Fix `buffer_size'.
This commit is contained in:
parent
763300a97c
commit
6c0d881418
|
@ -1,3 +1,9 @@
|
||||||
|
2010-03-11 Chris Liddell <chris.liddell@artifex.com>
|
||||||
|
|
||||||
|
Fix Savannah bug #27442.
|
||||||
|
|
||||||
|
* src/raster/ftraster.c (ft_black_reset): Fix `buffer_size'.
|
||||||
|
|
||||||
2010-03-09 Werner Lemberg <wl@gnu.org>
|
2010-03-09 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
Remove unused variable.
|
Remove unused variable.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* The FreeType glyph rasterizer (body). */
|
/* The FreeType glyph rasterizer (body). */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright 1996-2001, 2002, 2003, 2005, 2007, 2008, 2009 by */
|
/* Copyright 1996-2001, 2002, 2003, 2005, 2007, 2008, 2009, 2010 by */
|
||||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||||
/* */
|
/* */
|
||||||
/* This file is part of the FreeType project, and may only be used, */
|
/* This file is part of the FreeType project, and may only be used, */
|
||||||
|
@ -3447,9 +3447,8 @@
|
||||||
PWorker worker = (PWorker)pool_base;
|
PWorker worker = (PWorker)pool_base;
|
||||||
|
|
||||||
|
|
||||||
raster->buffer = pool_base + ( (sizeof ( *worker ) + 7 ) & ~7 );
|
raster->buffer = pool_base + ( ( sizeof ( *worker ) + 7 ) & ~7 );
|
||||||
raster->buffer_size = ( ( pool_base + pool_size ) -
|
raster->buffer_size = pool_base + pool_size - (char*)raster->buffer;
|
||||||
(char*)raster->buffer ) / sizeof ( Long );
|
|
||||||
raster->worker = worker;
|
raster->worker = worker;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue