Skip to content

Commit

Permalink
Fix one letter/number names (deadpixi#105).
Browse files Browse the repository at this point in the history
  • Loading branch information
aksr authored and japanoise committed Sep 9, 2023
1 parent 5d8acb3 commit 0a93fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sam/sam.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ getname(File *f, String *s, bool save)
}
Return:
genc = Strtoc(&genstr);
return genstr.n-1; /* strlen(name) */
return genstr.n; /* strlen(name) */
}

void
Expand Down

0 comments on commit 0a93fb7

Please sign in to comment.