From 23f657024bd0495826c601a1fafc3e9331df6338 Mon Sep 17 00:00:00 2001 From: Timon Ringwald Date: Mon, 15 Aug 2022 14:31:55 +0200 Subject: [PATCH] fixed String method for Resolution --- resolution.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolution.go b/resolution.go index fa9d35c..3e4894d 100644 --- a/resolution.go +++ b/resolution.go @@ -45,6 +45,6 @@ func (r Resolution) String() string { case ResolutionSD: return "SD" default: - return fmt.Sprintf("%sp", r) + return fmt.Sprintf("%dp", r) } }