Skip to content

Commit 891f450

Browse files
guohengccmywish
authored andcommitted
Fix core dump bug in './chsrc ls ruby'
1 parent bf75ccb commit 891f450

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/chsrc-main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ cli_print_target_features (Target_t *target, const char *input_target_name)
372372
default:
373373
xy_unreached();
374374
}
375-
char *msg = xy_strcat (3, bdblue (" = "),
375+
char *msg = xy_strcat (2, bdblue (" = "),
376376
purple (xy_strcat (5, "默认作用域 | chsrc set -scope=default ", input_target_name, " (= ", default_scope_name ,")")));
377377
puts (msg);
378378
br();

0 commit comments

Comments
 (0)