Update text.c

This commit is contained in:
Jason Bou-Samra
2024-10-28 20:24:59 +11:00
committed by GitHub
parent aa51ec1748
commit 1ed4875725
+2 -2
View File
@@ -338,10 +338,10 @@ int Ren_line(char line[], int char_x, int char_y, int ln, int ll, bool col ) {
}
/////////////// INTEGER TO STRING /////////////////
void its(int N, char *str) {
void its(int N, char *str, char asc_fill) {
int i = 0;
for (int i = 0; i < 8; i++) {
str[i] = 0x2e; // clear string
str[i] = asc_fill; // clear string
}
str[6]='0';
while (N > 0) { // keep going until all digits done