Skip to content

Commit 554de1c

Browse files
committed
fix a bug in scedit.c
1 parent b7cdf70 commit 554de1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scedit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ add_score(void)
215215
SCORE new;
216216

217217
printf("Name: ");
218-
(void) fgets(new.sc_name, MAXSTR, stdin);
218+
(void) fgets(new.sc_name, MAX_USERNAME, stdin);
219219
new.sc_name[strlen(new.sc_name) - 1] = '\0';
220220
do {
221221
printf("reason: ");

0 commit comments

Comments
 (0)