Cleaning pointers related code

This commit is contained in:
Loic Guegan 2022-12-31 20:45:03 +01:00
parent 21a5b3df8a
commit 8a14abe007
14 changed files with 63 additions and 63 deletions

View file

@ -81,9 +81,9 @@ void BoardCanvas::OnPaint(wxPaintEvent &event) {
}
void BoardCanvas::ApplyPreferences() {
if (t != NULL)
if (t != nullptr)
delete t;
if (t_captures != NULL)
if (t_captures != nullptr)
delete t_captures;
t = new Theme();
t_captures = new Theme();