Branch: Tag:

2001-03-17

2001-03-17 00:05:22 by Per Hedbor <ph@opera.com>

Yet another try at [Bug 1295 (#1295)]

Rev: server/base_server/roxen.pike:1.653

4:   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.      // ABS and suicide systems contributed freely by Francesco Chemolli - constant cvs_version="$Id: roxen.pike,v 1.652 2001/03/16 01:43:14 per Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.653 2001/03/17 00:05:22 per Exp $";      // Used when running threaded to find out which thread is the backend thread.   Thread.Thread backend_thread;
2212:    else if( (type & SCALEI) &&    ((reply->xsize() != w) || (reply->ysize() != h)) )    { +  if( w && h ) +  {    if( w / (float)reply->xsize() < h / (float)reply->ysize() )    h = 0;    else    w = 0; -  +  }    reply = reply->scale( w,h );    if( alpha )    alpha = alpha->scale( w,h );