diff options
| author | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-06 02:33:41 +0500 |
|---|---|---|
| committer | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-06 02:33:41 +0500 |
| commit | 43e0a37906afabb0b3b091b8d3eac9a910cae50c (patch) | |
| tree | d2a037c2bf0dc395fddb08e32ebfcf2795503b7c /fluid/nodes/Function_Node.h | |
| parent | 4ce4967c33d56e4b56d85d11fe0e0be91e159f5d (diff) | |
wip
Diffstat (limited to 'fluid/nodes/Function_Node.h')
| -rw-r--r-- | fluid/nodes/Function_Node.h | 2 |
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;} |
