Skip to content

Commit

Permalink
Fixes for the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
checkroom committed Nov 23, 2024
1 parent e51b232 commit 3960824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schemas/components/fl:base.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"type":"raw",
"subtype": "$symbol",
"description": "Empty string to unset.",
"code": "if(strcmp(value,\"\")==0)w.callback((Fl_Callback*)nullptr);else{auto result = that->resolve_symbol(value);if(result.symbol.symbol==nullptr){vs_log(severety_t::CONTINUE,that,\"Unable to find symbol `%s` for callback.\",value);}else{ui_callback_t* payload = new ui_callback_t();payload->caller=that;payload->sym=result;w.callback(ui_callback_handler,payload,true);}}"
"code": "if(strcmp(value,\"\")==0)w.callback((Fl_Callback*)nullptr);else{auto result = that->resolve_symbol(value, true);if(result.symbol.symbol==nullptr){vs_log(severety_t::CONTINUE,that,\"Unable to find symbol `%s` for callback.\",value);}else{ui_callback_t* payload = new ui_callback_t();payload->caller=that;payload->sym=result;w.callback(ui_callback_handler,payload,true);}}"
}
},
"computed":{
Expand Down

0 comments on commit 3960824

Please sign in to comment.