From a2a5ce72ee235f6b58c8dcf170d07e2a366477a7 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Mon, 27 Aug 2018 13:57:56 +0200 Subject: [PATCH] nikon_load_raw(): fix copy/paste bug, #4751 --- rtengine/dcraw.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/dcraw.cc b/rtengine/dcraw.cc index 970ed2b42..df4f4875c 100644 --- a/rtengine/dcraw.cc +++ b/rtengine/dcraw.cc @@ -1262,7 +1262,7 @@ BENCHFUN // instead of accessing curve[LIM((short)hpred[col & 1],0,0x3fff)] in the inner loop, we just fill the curve with the correct values and access curve[hpred[col & 1]] for(int i = 0x4000; i < 0x8000; ++i) - curve[i] = curve[3fff]; + curve[i] = curve[0x3fff]; for(int i = 0x8000; i < 0x10000; ++i) curve[i] = curve[0];