Mercurial > hg > orthanc-stone
comparison Applications/Generic/GuiAdapter.cpp @ 1317:8981bfca3457 broker
fix nullptr
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 17 Mar 2020 08:37:12 +0100 |
parents | f30905f5d246 |
children | 0290b7060167 |
comparison
equal
deleted
inserted
replaced
1316:7045a0ff32c4 | 1317:8981bfca3457 |
---|---|
608 void GuiAdapter::OnResize(unsigned int width, unsigned int height) | 608 void GuiAdapter::OnResize(unsigned int width, unsigned int height) |
609 { | 609 { |
610 for (size_t i = 0; i < resizeHandlers_.size(); i++) | 610 for (size_t i = 0; i < resizeHandlers_.size(); i++) |
611 { | 611 { |
612 (*(resizeHandlers_[i].func))( | 612 (*(resizeHandlers_[i].func))( |
613 resizeHandlers_[i].canvasName, nullptr, width, height, resizeHandlers_[i].userData); | 613 resizeHandlers_[i].canvasName, NULL, width, height, resizeHandlers_[i].userData); |
614 } | 614 } |
615 } | 615 } |
616 | 616 |
617 | 617 |
618 | 618 |