Skip to content

Commit

Permalink
win/EditorWidget-win.cpp: Replace "0" with "nullptr" to fix github is…
Browse files Browse the repository at this point in the history
…sue obsproject#11 - Line 25 crash.
  • Loading branch information
c3r1c3 committed Jan 19, 2017
1 parent 95695b3 commit c9c9b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win/EditorWidget-win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit c9c9b07

Please sign in to comment.