mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-07-03 02:37:39 +00:00
Cleaning pointers related code
This commit is contained in:
parent
21a5b3df8a
commit
8a14abe007
14 changed files with 63 additions and 63 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue