diff options
Diffstat (limited to 'graphics/asymptote/coder.h')
-rw-r--r-- | graphics/asymptote/coder.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/asymptote/coder.h b/graphics/asymptote/coder.h index e07aa11e63..0d50e8c752 100644 --- a/graphics/asymptote/coder.h +++ b/graphics/asymptote/coder.h @@ -221,8 +221,9 @@ public: frame *getFrame() { if (isStatic() && !isTopLevel()) { - assert(parent->getFrame()); - return parent->getFrame(); + frame *result = parent->getFrame(); + assert(result); + return result; } else return level; |