diff options
Diffstat (limited to 'src/game_tab/left_panel/board/BoardCanvas.cpp')
| -rw-r--r-- | src/game_tab/left_panel/board/BoardCanvas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game_tab/left_panel/board/BoardCanvas.cpp b/src/game_tab/left_panel/board/BoardCanvas.cpp index 3e1744c..55e16f0 100644 --- a/src/game_tab/left_panel/board/BoardCanvas.cpp +++ b/src/game_tab/left_panel/board/BoardCanvas.cpp @@ -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(); |
