DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit d73e35dd1ad116a5fdeb9ba908f5337e28077fec
parent f6c22c918c692659f6ca509b66422d19bd2d7f54
Author: falkTX <falktx@falktx.com>
Date:   Mon, 24 May 2021 23:05:59 +0100

Remove an if condition no longer necessary

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
Mdgl/src/WindowPrivateData.cpp | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dgl/src/WindowPrivateData.cpp b/dgl/src/WindowPrivateData.cpp @@ -639,8 +639,7 @@ void Window::PrivateData::onPuglConfigure(const double width, const double heigh const uint uwidth = static_cast<uint>(width + 0.5); const uint uheight = static_cast<uint>(height + 0.5); - if (self != nullptr) - self->onReshape(uwidth, uheight); + self->onReshape(uwidth, uheight); #ifndef DPF_TEST_WINDOW_CPP if (topLevelWidget != nullptr)