Skip to content

Commit 5dd97ec

Browse files
committed
REVIEWED: TextToPascal(), fix raylibtech/rtools#57
1 parent ca664cb commit 5dd97ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rtext.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,6 +1954,7 @@ char *TextToPascal(const char *text)
19541954
{
19551955
j++;
19561956
if ((text[j] >= 'a') && (text[j] <= 'z')) buffer[i] = text[j] - 32;
1957+
else if ((text[j] >= '0') && (text[j] <= '9')) buffer[i] = text[j];
19571958
}
19581959
}
19591960
}

0 commit comments

Comments
 (0)