[vlc-commits] Freetype: whitespace cleanup

Jean-Baptiste Kempf git at videolan.org
Fri Jun 3 20:01:52 CEST 2011


vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jun  3 18:48:59 2011 +0200| [165cd46ad5d422452ebea728466688ae88967941] | committer: Jean-Baptiste Kempf

Freetype: whitespace cleanup

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=165cd46ad5d422452ebea728466688ae88967941
---

 modules/misc/freetype.c |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/modules/misc/freetype.c b/modules/misc/freetype.c
index 11054ff..ad0dbb3 100644
--- a/modules/misc/freetype.c
+++ b/modules/misc/freetype.c
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * freetype.c : Put text on the video, using freetype2
  *****************************************************************************
- * Copyright (C) 2002 - 2007 the VideoLAN team
+ * Copyright (C) 2002 - 2011 the VideoLAN team
  * $Id$
  *
  * Authors: Sigmund Augdal Helberg <dnumgis at videolan.org>
@@ -1252,13 +1252,13 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
         i_error = FT_Load_Glyph( face, i_glyph_index, FT_LOAD_NO_BITMAP | FT_LOAD_DEFAULT );
         if( i_error )
         {
-	        i_error = FT_Load_Glyph( face, i_glyph_index, FT_LOAD_DEFAULT );
-	        if( i_error )
-	        {
-	            msg_Err( p_filter, "unable to render text FT_Load_Glyph returned"
-	                               " %d", i_error );
-	            goto error;
-	        }
+            i_error = FT_Load_Glyph( face, i_glyph_index, FT_LOAD_DEFAULT );
+            if( i_error )
+            {
+                msg_Err( p_filter, "unable to render text FT_Load_Glyph returned"
+                                   " %d", i_error );
+                goto error;
+            }
         }
         i_error = FT_Get_Glyph( glyph, &tmp_glyph );
         if( i_error )
@@ -1542,14 +1542,14 @@ static int RenderTag( filter_t *p_filter, FT_Face p_face, int i_font_color,
         i_error = FT_Load_Glyph( p_face, i_glyph_index, FT_LOAD_NO_BITMAP | FT_LOAD_DEFAULT );
         if( i_error )
         {
-	        i_error = FT_Load_Glyph( p_face, i_glyph_index, FT_LOAD_DEFAULT );
-	        if( i_error )
-	        {
-	            msg_Err( p_filter,
-	                   "unable to render text FT_Load_Glyph returned %d", i_error );
-	            p_line->pp_glyphs[ i ] = NULL;
-	            return VLC_EGENERIC;
-	        }
+            i_error = FT_Load_Glyph( p_face, i_glyph_index, FT_LOAD_DEFAULT );
+            if( i_error )
+            {
+                msg_Err( p_filter,
+                       "unable to render text FT_Load_Glyph returned %d", i_error );
+                p_line->pp_glyphs[ i ] = NULL;
+                return VLC_EGENERIC;
+            }
         }
 
         /* Do synthetic styling now that Freetype supports it;



More information about the vlc-commits mailing list