aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPo Lu2024-05-01 21:34:50 +0800
committerPo Lu2024-05-01 22:06:09 +0800
commit83bdeee92b0c8bf27ff18f99f3414c725308d2ed (patch)
tree3b5731a5fd3343829d32fc899707863a2182a1df
parenta5f57a86347eb950d201875cb8bba92d424611db (diff)
downloademacs-83bdeee92b0c8bf27ff18f99f3414c725308d2ed.tar.gz
emacs-83bdeee92b0c8bf27ff18f99f3414c725308d2ed.zip
Fix minor typos in haikuterm.c
* src/haikuterm.c (haiku_fill_underline) (haiku_draw_text_decoration): Don't pass view to unused frame parameter.
-rw-r--r--src/haikuterm.c6
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 }