diff options
author | Mariano Javier Suligoy <marianognu.easyrpg@gmail.com> | 2015-03-08 10:39:27 -0300 |
---|---|---|
committer | Mariano Javier Suligoy <marianognu.easyrpg@gmail.com> | 2015-03-08 10:39:27 -0300 |
commit | 0bc7eb1d91212e5fcc799d1b790430a4c2468751 (patch) | |
tree | d5088b15007f25357db526d311dcb3b23e828e2e | |
parent | 63006f6f6f55573d55c14fcb9f7b6eeb6444aeb6 (diff) |
Fix C++11 compilation
-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 ac156f5144..309152ba8f 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): |