Background scaling tweak (debian bug 471577).
SVN revision: 34122
This commit is contained in:
parent
8c8820cb22
commit
c46af7ad8c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue