From 8be9a68212ced105f1a0c8eaf3fea10794d156e1 Mon Sep 17 00:00:00 2001 From: Hombre Date: Fri, 3 Aug 2018 07:13:47 +0200 Subject: [PATCH] Attempt to fix #4580 : "RT 5.4 on Windows 8.1 x64 crashes while in editor" Fixing an incorrect 'if' statment --- rtgui/cropwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/cropwindow.cc b/rtgui/cropwindow.cc index 3b8e715b9..77118277c 100644 --- a/rtgui/cropwindow.cc +++ b/rtgui/cropwindow.cc @@ -1009,7 +1009,7 @@ void CropWindow::pointerMoved (int bstate, int x, int y) MyMutex::MyLock lock(cropHandler.cimg); - if (!onArea (CropImage, x, y) || !cropHandler.cropPixbuf) { + if (!onArea (CropImage, x, y) || !cropHandler.cropPixbuftrue) { cropHandler.getFullImageSize(mx, my); // pmlistener->pointerMoved (false, cropHandler.colorParams.working, mx, my, -1, -1, -1); // if (pmhlistener) pmhlistener->pointerMoved (false, cropHandler.colorParams.working, mx, my, -1, -1, -1);