diff options
Diffstat (limited to 'mainwin.cc')
-rw-r--r-- | mainwin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -415,7 +415,7 @@ AbstractNode *MainWindow::find_root_tag(AbstractNode *n) { foreach(AbstractNode *v, n->children) { if (v->modinst->tag_root) return v; - return find_root_tag(v); + if (AbstractNode *vroot = find_root_tag(v)) return vroot; } return NULL; } |