summary refs log tree commit diff stats
path: root/pkg/unsplash
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/unsplash')
-rw-r--r--pkg/unsplash/unsplash.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/unsplash/unsplash.go b/pkg/unsplash/unsplash.go
index 3070716..e40503d 100644
--- a/pkg/unsplash/unsplash.go
+++ b/pkg/unsplash/unsplash.go
@@ -29,7 +29,7 @@ func SetFromID(photoID string, width int, height int) error {
 		err error
 	)
 
-	size = fmt.Sprintf("%sx%s", width, height)
+	size = fmt.Sprintf("%dx%d", width, height)
 	path = fmt.Sprintf("%s/%s/%s", "https://source.unsplash.com", photoID, size)
 	err = background.Set(path)
 
id='n10' href='#n10'>10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
46
47
48