Background scaling tweak (debian bug 471577).

SVN revision: 34122
This commit is contained in:
Kim Woelders 2008-03-26 23:19:42 +00:00
parent 8c8820cb22
commit c46af7ad8c
1 changed files with 2 additions and 0 deletions

View File

@ -486,8 +486,10 @@ BgFindImageSize(BgPart * bgp, unsigned int rw, unsigned int rh,
EImageGetSize(bgp->im, &iw, &ih);
#if 0 /* FIXME - Remove? */
if (bgp->keep_aspect)
bgp->xperc = bgp->yperc;
#endif
if (bgp->xperc > 0)
w = (rw * bgp->xperc) >> 10;