From 37fe01b7f4ec00f173fe25dceb53fa25faf6c2a7 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Mon, 12 Oct 2009 15:53:47 -0700 Subject: [PATCH] small fix in new text selection code --- lib/devices/swf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/devices/swf.c b/lib/devices/swf.c index 8ee0070..dbb851e 100644 --- a/lib/devices/swf.c +++ b/lib/devices/swf.c @@ -832,10 +832,11 @@ static void chararray_writetodev(gfxdevice_t*dev, chararray_t*array, MATRIX*matr swf_SetU32(i->tag, 0);//sharpness swf_SetU8(i->tag, 0);//reserved } - i->tag = swf_InsertTag(i->tag,ST_PLACEOBJECT2); if(invisible && i->config_flashversion>=8) { + i->tag = swf_InsertTag(i->tag,ST_PLACEOBJECT3); swf_ObjectPlaceBlend(i->tag,textid,getNewDepth(dev),&i->page_matrix,NULL,NULL,BLENDMODE_MULTIPLY); } else { + i->tag = swf_InsertTag(i->tag,ST_PLACEOBJECT2); swf_ObjectPlace(i->tag,textid,getNewDepth(dev),&i->page_matrix,NULL,NULL); } } -- 1.7.10.4