Bug 501575 – Compile errors Patch from Jens Granseuer

2007-12-04  Behdad Esfahbod  <behdad@gnome.org>

        Bug 501575 – Compile errors
        Patch from Jens Granseuer

        * pango/opentype/harfbuzz-stream.c (_hb_font_goto_table):
        * pango/pango-utils.c (handle_alias_line):
        Fix C99ism.
This commit is contained in:
Behdad Esfahbod 2007-12-05 03:41:29 +00:00 committed by Behdad Esfahbod
parent cd55cfa2b0
commit 4ccedd22ea
1 changed files with 2 additions and 2 deletions

View File

@ -150,6 +150,8 @@ _hb_font_goto_table( HB_Font font,
{
HB_Stream stream = font->stream;
HB_UInt offset = 0;
HB_UInt count, nn;
HB_Error error;
LOG(( "_hb_font_goto_table( %p, %c%c%c%c, %p )\n",
@ -170,8 +172,6 @@ _hb_font_goto_table( HB_Font font,
/* parse the directory table directly, without using
* FreeType's built-in data structures
*/
HB_UInt offset = 0;
HB_UInt count, nn;
if ( font->num_faces > 1 )
{