summaryrefslogtreecommitdiff
path: root/fluid/nodes/Function_Node.h
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/nodes/Function_Node.h')
-rw-r--r--fluid/nodes/Function_Node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/nodes/Function_Node.h b/fluid/nodes/Function_Node.h
index e92f36f80..0ad4494f3 100644
--- a/fluid/nodes/Function_Node.h
+++ b/fluid/nodes/Function_Node.h
@@ -65,7 +65,7 @@ public:
void write_code1(fld::io::Code_Writer& f) override;
void write_code2(fld::io::Code_Writer& f) override;
void open() override;
- int ismain() {return name_ == nullptr;}
+ int ismain() {return name_ == 0;}
const char *type_name() override {return "Function";}
const char *title() override { return name() ? name() : "main()"; }
int can_have_children() const override {return 1;}