Thanks for the Gimp 2.9 patch.

> +    if ((double)uf->autoCropWidth / uf->autoCropHeight > aspectRatio)
> +        uf->autoCropWidth = uf->autoCropHeight * aspectRatio + 0.5;
> +    else
> +        uf->autoCropHeight = uf->autoCropWidth / aspectRatio + 0.5;


Can you test the latest CVS? I added a call to floor(). We had issues
before with the compiler handling rounding of float to int. I'm not
sure if it is a compiler bug or a compiler feature.

Udi

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
ufraw-devel mailing list
ufraw-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-devel

Reply via email to