[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 83bdeee92b0: Fix minor typos in haikuterm.c
From: |
Po Lu |
Subject: |
master 83bdeee92b0: Fix minor typos in haikuterm.c |
Date: |
Wed, 1 May 2024 10:06:22 -0400 (EDT) |
branch: master
commit 83bdeee92b0c8bf27ff18f99f3414c725308d2ed
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix minor typos in haikuterm.c
* src/haikuterm.c (haiku_fill_underline)
(haiku_draw_text_decoration): Don't pass view to unused frame
parameter.
---
src/haikuterm.c | 6 +++---
1 file 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,
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);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 83bdeee92b0: Fix minor typos in haikuterm.c,
Po Lu <=