cropPixbuf/cropPixbufTrue mixed-up in cropwindow.cc (no issue)
This commit is contained in:
parent
99fa2942b8
commit
55ed8eae74
@ -1047,7 +1047,7 @@ void CropWindow::pointerMoved (int bstate, int x, int y)
|
|||||||
// pmlistener->pointerMoved (true, mx, my, pix[0], pix[1], pix[2]);
|
// pmlistener->pointerMoved (true, mx, my, pix[0], pix[1], pix[2]);
|
||||||
int imwidth = cropHandler.cropPixbuf->get_width();
|
int imwidth = cropHandler.cropPixbuf->get_width();
|
||||||
int imheight = cropHandler.cropPixbuf->get_height();
|
int imheight = cropHandler.cropPixbuf->get_height();
|
||||||
guint8* pix = cropHandler.cropPixbuftrue->get_pixels() + vy * cropHandler.cropPixbuf->get_rowstride() + vx * 3;
|
guint8* pix = cropHandler.cropPixbuf->get_pixels() + vy * cropHandler.cropPixbuf->get_rowstride() + vx * 3;
|
||||||
|
|
||||||
int rval = pix[0];
|
int rval = pix[0];
|
||||||
int gval = pix[1];
|
int gval = pix[1];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user