diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2006-09-08 13:31:43 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2006-09-08 13:31:43 +0000 |
commit | 26f2b4944734a5d7fed5cd5309646a1c4727778f (patch) | |
tree | 9860f922f22c89a005ce63e6c6ddc0fd0f11090d /riscos/query.c | |
parent | f99998362dbcc4bad2e056002c836a6390e99253 (diff) | |
download | netsurf-26f2b4944734a5d7fed5cd5309646a1c4727778f.tar.gz netsurf-26f2b4944734a5d7fed5cd5309646a1c4727778f.tar.bz2 |
Fix icon sizing
svn path=/trunk/netsurf/; revision=2929
Diffstat (limited to 'riscos/query.c')
-rw-r--r-- | riscos/query.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/riscos/query.c b/riscos/query.c index 9320c4c0c..b2a51c372 100644 --- a/riscos/query.c +++ b/riscos/query.c @@ -133,10 +133,9 @@ query_id query_user(const char *query, const char *detail, width = len * 16; } if (!query_yes_width) query_yes_width = icn->extent.x1 - icn->extent.x0; + width += 44; if (width < query_yes_width) width = query_yes_width; - else - width += 44; icn->extent.x0 = x = icn->extent.x1 - width; /* set the text of the 'No' button and size accordingly */ @@ -153,10 +152,9 @@ query_id query_user(const char *query, const char *detail, error->errnum, error->errmess)); width = len * 16; } + width += 28; if (width < query_no_width) width = query_no_width; - else - width += 28; icn->extent.x0 = icn->extent.x1 - width; error = xwimp_create_window(query_template, &qw->window); |