drawio fix

This commit is contained in:
gazhonsepaskwa
2025-02-12 12:22:25 +01:00
parent 6fdbded44a
commit d03d1cf9ef

View File

@@ -40,6 +40,7 @@ t_dio_node get_cmd_txt(t_ast_n *node)
if (node->state == _CMD) if (node->state == _CMD)
{ {
txt.cmd = ft_sprintf("%s%s", NL, node->cmd); txt.cmd = ft_sprintf("%s%s", NL, node->cmd);
if (txt.cmd)
txt.cmd = replace_left_red(txt.cmd); txt.cmd = replace_left_red(txt.cmd);
if (node->args && node->args[0]) if (node->args && node->args[0])
args = ft_tabstr(node->args); args = ft_tabstr(node->args);