Another fix by Joerg: >From 57ecde5d6b9dad023d1b0860a4316dfe7685b9bc Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger <[email protected]> Date: Sun, 21 Aug 2011 19:07:51 +0200 Subject: [PATCH libXfont] Fix empty statement in if conditional.
Assume for a moment that the intention here is to do something useful. Signed-off-by: Matthieu Herrb <[email protected]> --- src/FreeType/ftfuncs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/FreeType/ftfuncs.c b/src/FreeType/ftfuncs.c index fd8e53e..3356fec 100644 --- a/src/FreeType/ftfuncs.c +++ b/src/FreeType/ftfuncs.c @@ -122,7 +122,7 @@ sfnt_get_ushort( FT_Face face, FT_ULong len = sizeof(buff); FT_UShort result = 0; - if ( !FT_Load_Sfnt_Table( face, table_tag, table_offset, buff, &len ) ); + if ( !FT_Load_Sfnt_Table( face, table_tag, table_offset, buff, &len ) ) result = (FT_UShort)( (buff[0] << 8) | buff[1] ); return result; -- 1.7.6 -- Matthieu Herrb _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
