On Tue, 2013-02-26 at 13:27 -0600, Udi Fuchs wrote: > 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.
It doesn't help here, sorry. I'd like to isolate a short reproducer for a meaningful bug report to gcc, but so far whenever I've more than looked at code in the vicinity of where the bug must happen, the bug didn't show up. I hate it when that happens ;-). Nils -- Nils Philippsen / Wilhelmstraße 22 / D-71229 Leonberg n...@tiptoe.de / n...@redhat.com PGP fingerprint: C4A8 9474 5C4C ADE3 2B8F 656D 47D8 9B65 6951 3011 Ever noticed that common sense isn't really all that common? ------------------------------------------------------------------------------ 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