From ad17f799ea20ca47ace78e98375996d1004b1054 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 7 Oct 2011 21:56:17 +0000 Subject: Choose right ico image for typical url bar. svn path=/trunk/netsurf/; revision=12989 --- image/ico.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/image/ico.c b/image/ico.c index 7b76ca447..ab5d131d9 100644 --- a/image/ico.c +++ b/image/ico.c @@ -215,7 +215,9 @@ static nserror nsico_clone(const struct content *old, struct content **newc) static void *nsico_get_internal(const struct content *c, void *context) { nsico_content *ico = (nsico_content *) c; - struct bmp_image *bmp = ico_find(ico->ico, 255, 255); + /* TODO: Pick best size for purpose. + * Currently assumes it's for a URL bar. */ + struct bmp_image *bmp = ico_find(ico->ico, 16, 16); if (!bmp->decoded) if (bmp_decode(bmp) != BMP_OK) -- cgit v1.2.3