Commit 92d90130 authored by Laurent Aimar's avatar Laurent Aimar

Compilation fix for kate.

parent 32262f06
...@@ -672,17 +672,16 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, kate_packet *p_kp, block_t ...@@ -672,17 +672,16 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, kate_packet *p_kp, block_t
{ {
p_bitmap_region->i_align = SUBPICTURE_ALIGN_BOTTOM; p_bitmap_region->i_align = SUBPICTURE_ALIGN_BOTTOM;
} }
p_spu->i_x = 0; p_spu->p_region->i_x = 0;
p_spu->i_y = 10; p_spu->p_region->i_y = 10;
/* override if tracker info present */ /* override if tracker info present */
if (tracker_valid) if (tracker_valid)
{ {
p_spu->i_flags = 0;
if (kin.has.region) if (kin.has.region)
{ {
p_spu->i_x = kin.region_x; p_spu->p_region->i_x = kin.region_x;
p_spu->i_y = kin.region_y; p_spu->p_region->i_y = kin.region_y;
p_spu->b_absolute = true; p_spu->b_absolute = true;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment