void *view;
segment = thickness * 3;
- view = FRAME_HAIKU_VIEW (s->f);
+ view = FRAME_HAIKU_VIEW (f);
switch (style)
{
s->underline_thickness = thickness;
s->underline_position = position;
- haiku_fill_underline (view, s, s->face->underline,
+ haiku_fill_underline (s->f, s, s->face->underline,
position, thickness);
/* Place a second underline above the first if this was
{
/* Compute the position of the second underline. */
position = position - thickness - 1;
- haiku_fill_underline (view, s, s->face->underline,
+ haiku_fill_underline (s->f, s, s->face->underline,
position, thickness);
}
}