wdvi

network DVI viewer
Log | Files | Refs

commit 419036170c0a81e461924983616172641a7be745
parent cdce749aaa8623ec7ef6ed75e43c4b3005ea5f02
Author: Kyle Milz <krwmilz@gmail.com>
Date:   Thu,  9 Mar 2023 00:28:17 +0000

ANSI function signatures

Diffstat:
Mdvi-draw.c | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/dvi-draw.c b/dvi-draw.c @@ -101,9 +101,7 @@ static void draw_part(struct frame *, double); */ static void -put_rule(x, y, w, h) - int x, y; - unsigned int w, h; +put_rule(int x, int y, unsigned int w, unsigned int h) { if (x < max_x && x + (int) w >= min_x && y < max_y && y + (int) h >= min_y) { @@ -874,8 +872,7 @@ set_no_char(wide_ubyte ch) */ static void -set_rule(h, w) - int h, w; +set_rule(int h, int w) { put_rule(PXL_H, PXL_V - h + 1, (unsigned int) w, (unsigned int) h); }