diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/haikuterm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/haikuterm.c b/src/haikuterm.c index b960e36ef26..09d70230bab 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c | |||
| @@ -856,7 +856,7 @@ haiku_fill_underline (struct frame *f, struct glyph_string *s, | |||
| 856 | void *view; | 856 | void *view; |
| 857 | 857 | ||
| 858 | segment = thickness * 3; | 858 | segment = thickness * 3; |
| 859 | view = FRAME_HAIKU_VIEW (s->f); | 859 | view = FRAME_HAIKU_VIEW (f); |
| 860 | 860 | ||
| 861 | switch (style) | 861 | switch (style) |
| 862 | { | 862 | { |
| @@ -989,7 +989,7 @@ haiku_draw_text_decoration (struct glyph_string *s, struct face *face, | |||
| 989 | s->underline_thickness = thickness; | 989 | s->underline_thickness = thickness; |
| 990 | s->underline_position = position; | 990 | s->underline_position = position; |
| 991 | 991 | ||
| 992 | haiku_fill_underline (view, s, s->face->underline, | 992 | haiku_fill_underline (s->f, s, s->face->underline, |
| 993 | position, thickness); | 993 | position, thickness); |
| 994 | 994 | ||
| 995 | /* Place a second underline above the first if this was | 995 | /* Place a second underline above the first if this was |
| @@ -999,7 +999,7 @@ haiku_draw_text_decoration (struct glyph_string *s, struct face *face, | |||
| 999 | { | 999 | { |
| 1000 | /* Compute the position of the second underline. */ | 1000 | /* Compute the position of the second underline. */ |
| 1001 | position = position - thickness - 1; | 1001 | position = position - thickness - 1; |
| 1002 | haiku_fill_underline (view, s, s->face->underline, | 1002 | haiku_fill_underline (s->f, s, s->face->underline, |
| 1003 | position, thickness); | 1003 | position, thickness); |
| 1004 | } | 1004 | } |
| 1005 | } | 1005 | } |