From c9c9b07ea02e12e56b24c8aec01ecbd733235df5 Mon Sep 17 00:00:00 2001 From: Cephas Reis Date: Wed, 18 Jan 2017 23:40:48 -0600 Subject: [PATCH] win/EditorWidget-win.cpp: Replace "0" with "nullptr" to fix github issue #11 - Line 25 crash. --- win/EditorWidget-win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/EditorWidget-win.cpp b/win/EditorWidget-win.cpp index a3d75c7a3..85c323996 100644 --- a/win/EditorWidget-win.cpp +++ b/win/EditorWidget-win.cpp @@ -22,7 +22,7 @@ void EditorWidget::buildEffectContainer(AEffect *effect) { effect->dispatcher(effect, effEditOpen, 0, 0, hwnd, 0); - VstRect* vstRect = 0; + VstRect* vstRect = nullptr; effect->dispatcher(effect, effEditGetRect, 0, 0, &vstRect, 0); if (vstRect) {