stuff
This commit is contained in:
parent
98624a9bfa
commit
76d31322ae
6 changed files with 14 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue