Fixes a case of undefined behaviour when opening a new default window, Issue 2277

This commit is contained in:
Ingo
2014-03-24 21:19:15 +01:00
parent db633c4800
commit fac51a63d8
2 changed files with 2 additions and 1 deletions

View File

@@ -28,7 +28,7 @@
using namespace rtengine;
CropHandler::CropHandler ()
: zoom(10), cx(0), cy(0), cw(0), ch(0),
: zoom(10), ww(0), wh(0), cx(0), cy(0), cw(0), ch(0),
cropX(0), cropY(0), cropW(0), cropH(0), enabled(false),
cropimg(NULL), cropimgtrue(NULL), ipc(NULL), crop(NULL), listener(NULL), isLowUpdatePriority(false) {