diff options
| author | Mariano Javier Suligoy | 2015-03-08 10:39:27 -0300 |
|---|---|---|
| committer | Mariano Javier Suligoy | 2015-03-08 10:39:27 -0300 |
| commit | 0bc7eb1d91212e5fcc799d1b790430a4c2468751 (patch) | |
| tree | d5088b15007f25357db526d311dcb3b23e828e2e /scene/gui/check_box.cpp | |
| parent | 63006f6f6f55573d55c14fcb9f7b6eeb6444aeb6 (diff) | |
| download | godot-0bc7eb1d91212e5fcc799d1b790430a4c2468751.tar.gz godot-0bc7eb1d91212e5fcc799d1b790430a4c2468751.tar.zst godot-0bc7eb1d91212e5fcc799d1b790430a4c2468751.zip | |
Fix C++11 compilation
Diffstat (limited to '')
| -rw-r--r-- | scene/gui/check_box.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/check_box.cpp b/scene/gui/check_box.cpp index ac156f514..309152ba8 100644 --- a/scene/gui/check_box.cpp +++ b/scene/gui/check_box.cpp @@ -61,9 +61,9 @@ bool CheckBox::is_radio() parent = parent->get_parent(); if (dynamic_cast< ButtonGroup* >(parent)) break; - } while (parent != nullptr); + } while (parent); - return (parent != nullptr); + return (parent != 0); } CheckBox::CheckBox(const String &p_text): |
