changeset 23030:8cf909e9f551

Cosmetics.
author eugeni
date Fri, 20 Apr 2007 23:23:32 +0000
parents edb61a7aa38a
children 0438442ae1eb
files libass/ass_render.c
diffstat 1 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_render.c	Fri Apr 20 23:23:00 2007 +0000
+++ b/libass/ass_render.c	Fri Apr 20 23:23:32 2007 +0000
@@ -407,11 +407,10 @@
 				FT_Done_Glyph(text_info->glyphs[i].outline_glyph);
 
 			// cache
-				hash_val.bm_o = text_info->glyphs[i].bm_o;
-				hash_val.bm = text_info->glyphs[i].bm;
-				hash_val.bm_s = text_info->glyphs[i].bm_s;
-				cache_add_bitmap(&(text_info->glyphs[i].hash_key), &hash_val);
-
+			hash_val.bm_o = text_info->glyphs[i].bm_o;
+			hash_val.bm = text_info->glyphs[i].bm;
+			hash_val.bm_s = text_info->glyphs[i].bm_s;
+			cache_add_bitmap(&(text_info->glyphs[i].hash_key), &hash_val);
 		}
 	}
 
@@ -1276,7 +1275,7 @@
 static void get_bitmap_glyph(glyph_info_t* info)
 {
 	bitmap_hash_val_t* val;
-	bitmap_hash_key_t* key = &(info->hash_key);
+	bitmap_hash_key_t* key = &info->hash_key;
 	
 	val = cache_find_bitmap(key);
 /* 	val = 0; */