Browse Source

Changed a stray 0 to a nullptr

tags/2021-05-28
jules 6 years ago
parent
commit
c6d1d2e483
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/windows/juce_AlertWindow.cpp

+ 1
- 1
modules/juce_gui_basics/windows/juce_AlertWindow.cpp View File

@@ -108,7 +108,7 @@ void AlertWindow::addButton (const String& name,
b->setWantsKeyboardFocus (true);
b->setMouseClickGrabsKeyboardFocus (false);
b->setCommandToTrigger (0, returnValue, false);
b->setCommandToTrigger (nullptr, returnValue, false);
b->addShortcut (shortcutKey1);
b->addShortcut (shortcutKey2);
b->onClick = [this, b] { exitAlert (b); };


Loading…
Cancel
Save