From f0a905d77552a740194da4582b5447af58254e26 Mon Sep 17 00:00:00 2001 From: Andinus Date: Sat, 14 Mar 2020 13:31:45 +0530 Subject: Fix SetFromID & add usage in readme --- pkg/unsplash/unsplash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/unsplash') 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) -- cgit 1.4.1-2-gfad0 ='h' onchange='this.form.submit();'> Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/035compute_segment_address.cc
blob: c6a1b441d04065a2ef3ee957fb58f2962598f3fa (plain) (tree)
1
2
3
4
5
6
7
8
9
10