Author: post
Date: 2009-09-22 08:38:49 +0200 (Tue, 22 Sep 2009)
New Revision: 2642

Modified:
   trunk/plugins/lensfun/lensfun.c
Log:
Fixed typo.

Modified: trunk/plugins/lensfun/lensfun.c
===================================================================
--- trunk/plugins/lensfun/lensfun.c     2009-09-21 21:44:05 UTC (rev 2641)
+++ trunk/plugins/lensfun/lensfun.c     2009-09-22 06:38:49 UTC (rev 2642)
@@ -449,7 +449,7 @@
 
                /* Calculate next pixel offset */
                const gint nx = MIN((ipos_x>>8) + 1, m_w);
-               const gint ny = MIN((ipos_y>>8) + 1, m_w);
+               const gint ny = MIN((ipos_y>>8) + 1, m_h);
 
                gushort* a = GET_PIXEL(in, ipos_x>>8, ipos_y>>8);
                gushort* b = GET_PIXEL(in, nx , ipos_y>>8);


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to