diff options
author | Richard Hughes <richard@hughsie.com> | 2015-03-19 19:07:23 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2015-03-19 19:07:23 +0000 |
commit | 2064af7d6ddca275cbcfb3320917e8ce979b309a (patch) | |
tree | c896ca295366c1b781ad5628af2aa167541ba05e | |
parent | b8d9662cf138f5d3369e62b5f40dbcd05e5d3c86 (diff) | |
download | appstream-glib-2064af7d6ddca275cbcfb3320917e8ce979b309a.tar.gz |
Use the correct image URL for HiDPI screenshots
-rw-r--r-- | libappstream-builder/asb-app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-builder/asb-app.c b/libappstream-builder/asb-app.c index 970ff3e..b91b1f9 100644 --- a/libappstream-builder/asb-app.c +++ b/libappstream-builder/asb-app.c @@ -357,7 +357,7 @@ asb_app_save_thumbnail (AsScreenshot *ss, AsImage *im_src, height * scale > as_image_get_height (im_src)) return TRUE; } - size_str = g_strdup_printf ("%ix%i", width, height); + size_str = g_strdup_printf ("%ix%i", width * scale, height * scale); url_tmp = g_build_filename (mirror_uri, size_str, as_image_get_basename (im_src), |