This commit is contained in:
Nishi 2026-04-20 00:47:40 +09:00
commit 76d31322ae
Signed by: nishi
GPG key ID: 27EF69B208EB9343
6 changed files with 14 additions and 12 deletions

View file

@ -526,7 +526,7 @@ static std::string function_source(xl_node_t* node) {
}
if(type2.type == "widget") {
strm << type2.name + "->GetWidget()";
strm << "(" + type2.name + " == NULL ? NULL : " + type2.name + "->GetWidget())";
} else {
if(type2.type == "string") {
strm << std::endl;