diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-12-05 03:41:29 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-12-05 03:41:29 +0000 |
commit | 4898375b8be725ccc83dff5c3b020e555148ddb7 (patch) | |
tree | 183b8be01500f946055ebc30fe916e782e34756b /pango/opentype | |
parent | f5e62ac0f993badf002683a4448825438c16bbf6 (diff) | |
download | pango-4898375b8be725ccc83dff5c3b020e555148ddb7.tar.gz |
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.
svn path=/trunk/; revision=2514
Diffstat (limited to 'pango/opentype')
-rw-r--r-- | pango/opentype/harfbuzz-stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/opentype/harfbuzz-stream.c b/pango/opentype/harfbuzz-stream.c index 29d280ae..f8a19b5b 100644 --- a/pango/opentype/harfbuzz-stream.c +++ b/pango/opentype/harfbuzz-stream.c @@ -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 ) { |