[vlc-commits] Freetype: reindent

Jean-Baptiste Kempf git at videolan.org
Thu Feb 17 23:07:00 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 17 23:06:29 2011 +0100| [84b939ba4b1688b306cb880b1b75a02e0d017b46] | committer: Jean-Baptiste Kempf

Freetype: reindent

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=84b939ba4b1688b306cb880b1b75a02e0d017b46
---

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

diff --git a/modules/misc/freetype.c b/modules/misc/freetype.c
index 21b785f..b40bb05 100644
--- a/modules/misc/freetype.c
+++ b/modules/misc/freetype.c
@@ -1200,13 +1200,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 )
@@ -1460,14 +1460,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