- p->a_text->texture[0].data.text.string = target->text;
- p->a_text->surface.parentx = textx;
- p->a_text->surface.parenty = texty;
- RrPaint(p->a_text, target->textwin, textw, ICON_SIZE);
+ text = (target == newtarget) ? p->a_hilite_text : p->a_text;
+ text->texture[0].data.text.string = target->text;
+ text->surface.parentx = textx;
+ text->surface.parenty = texty;
+ RrPaint(text, target->textwin, textw, ICON_SIZE);