Skip to content

Commit d63cfe9

Browse files
author
guoheng
committed
Fix core dump bug in './chsrc ls ruby'
1 parent 65cf7ab commit d63cfe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)