~sircmpwn/chartsrv-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Minor formatting improvement

Details
Message ID
<20201021230625.7788-1-noam@pixelhero.dev>
DKIM signature
fail
Download raw message
Patch: +4 -4 DKIM signature: fail
---
 main.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/main.go b/main.go
index 0eab06f..12c5491 100644
--- a/main.go
+++ b/main.go
@@ -149,15 +149,15 @@ func registerExtension(router chi.Router, extension string, mime string) {
			end = time.Now().Add(-d)
		}

		width := 12*vg.Inch
		height := 6*vg.Inch
		width := 12 * vg.Inch
		height := 6 * vg.Inch
		if ws, ok := args["width"]; ok {
			w, _ := strconv.ParseFloat(ws[0], 32)
			width = vg.Length(w)*vg.Inch
			width = vg.Length(w) * vg.Inch
		}
		if hs, ok := args["height"]; ok {
			h, _ := strconv.ParseFloat(hs[0], 32)
			height = vg.Length(h)*vg.Inch
			height = vg.Length(h) * vg.Inch
		}

		// Undocumented option
-- 
2.28.0
Details
Message ID
<C6L7FEE6FH0X.1I1AHH89LN0G0@taiga>
In-Reply-To
<20201021230625.7788-1-noam@pixelhero.dev> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
Thanks!

To git@git.sr.ht:~sircmpwn/chartsrv
   ad2375c..  master -> master
Reply to thread Export thread (mbox)