shithub: riscv

Download patch

ref: 56c212c010af4d0e18454699699eb65d08704af0
parent: bb2060028e616df560628cf6f1e6e5d196d50833
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Aug 14 07:05:30 EDT 2022

libdraw: bikeshed formatting

--- a/sys/src/libdraw/emenuhit.c
+++ b/sys/src/libdraw/emenuhit.c
@@ -73,8 +73,7 @@
 	return (p.y-r.min.y)/(font->height+Vspacing);
 }
 
-static
-void
+static void
 paintitem(Menu *menu, Rectangle textr, int off, int i, int highlight, Image *save, Image *restore)
 {
 	char *item;
--- a/sys/src/libdraw/menuhit.c
+++ b/sys/src/libdraw/menuhit.c
@@ -74,8 +74,7 @@
 	return (p.y-r.min.y)/(font->height+Vspacing);
 }
 
-static
-void
+static void
 paintitem(Image *m, Menu *menu, Rectangle textr, int off, int i, int highlight, Image *save, Image *restore)
 {
 	char *item;