mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 09:51:22 -08:00
Fix minor typos in haikuterm.c
* src/haikuterm.c (haiku_fill_underline) (haiku_draw_text_decoration): Don't pass view to unused frame parameter.
This commit is contained in:
parent
a5f57a8634
commit
83bdeee92b
1 changed files with 3 additions and 3 deletions
|
|
@ -856,7 +856,7 @@ haiku_fill_underline (struct frame *f, struct glyph_string *s,
|
|||
void *view;
|
||||
|
||||
segment = thickness * 3;
|
||||
view = FRAME_HAIKU_VIEW (s->f);
|
||||
view = FRAME_HAIKU_VIEW (f);
|
||||
|
||||
switch (style)
|
||||
{
|
||||
|
|
@ -989,7 +989,7 @@ haiku_draw_text_decoration (struct glyph_string *s, struct face *face,
|
|||
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
|
||||
|
|
@ -999,7 +999,7 @@ haiku_draw_text_decoration (struct glyph_string *s, struct face *face,
|
|||
{
|
||||
/* 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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue