Author: abrander
Date: 2010-12-05 12:40:37 +0100 (Sun, 05 Dec 2010)
New Revision: 3660
Modified:
trunk/plugins/lensfun/lensfun.c
Log:
Changed lensfun version check to check for 0.2.5.0 (instead of 0.2.5.1).
Modified: trunk/plugins/lensfun/lensfun.c
===================================================================
--- trunk/plugins/lensfun/lensfun.c 2010-12-05 11:35:03 UTC (rev 3659)
+++ trunk/plugins/lensfun/lensfun.c 2010-12-05 11:40:37 UTC (rev 3660)
@@ -496,15 +496,15 @@
{
lfLensCalibTCA tca;
tca.Model = LF_TCA_MODEL_LINEAR;
- if (rs_lf_version < 0x00020501)
+ if (rs_lf_version < 0x00020500)
{
- /* Lensfun < 0.2.5.1 */
+ /* Lensfun < 0.2.5.0 */
tca.Terms[0] = (lensfun->tca_kr/100)+1;
tca.Terms[1] = (lensfun->tca_kb/100)+1;
}
else
{
- /* Lensfun >= 0.2.5.1 */
+ /* Lensfun >= 0.2.5.0 */
tca.Terms[0] = ((lensfun->tca_kr/100)*-1)+1;
tca.Terms[1] = ((lensfun->tca_kb/100)*-1)+1;
}
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit