summaryrefslogtreecommitdiffstats
path: root/libass
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-20 23:23:32 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-20 23:23:32 +0000
commitfe9fca807a133c4b83cb245fa0c16bfca3b6dbd8 (patch)
tree15d5e1c8c977254caac9f90c93fd46ebbb151af4 /libass
parentd517733485b0a0e6213d9ebdc9c2d13e4798606c (diff)
downloadlibass-fe9fca807a133c4b83cb245fa0c16bfca3b6dbd8.tar.bz2
libass-fe9fca807a133c4b83cb245fa0c16bfca3b6dbd8.tar.xz
Cosmetics.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23048 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass')
-rw-r--r--libass/ass_render.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index 418396c3..f1798400 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -407,11 +407,10 @@ static ass_image_t* render_text(text_info_t* text_info, int dst_x, int dst_y)
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_outline_glyph(int symbol, glyph_info_t* info, FT_Vector* advance
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; */