Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed May 16, 2024
1 parent e61211c commit bd29e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/gen/c/cgen.v
Original file line number Diff line number Diff line change
Expand Up @@ -7137,7 +7137,7 @@ fn (mut g Gen) type_default(typ_ ast.Type) string {
} else {
expr_str = g.expr_string(field.default_expr)
}
init_str += '${expr_str.all_after_first(')')},'
init_str += '${expr_str},'
}
has_none_zero = true
}
Expand Down

0 comments on commit bd29e21

Please sign in to comment.