[PATCH libXfont] Fix empty statement in if conditional.

Joerg Sonnenberger joerg at britannica.bec.de
Sun Aug 21 10:07:51 PDT 2011


Assume for a moment that the intention here is to do
something useful.

Signed-off-by: Matthieu Herrb <matthieu.herrb at laas.fr>
---
 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


More information about the xorg-devel mailing list