Use SDL C runtime functions

This commit is contained in:
Sam Lantinga 2019-06-19 06:40:50 -07:00
parent faed7f836d
commit bd95290075

View file

@ -102,7 +102,7 @@ static int get_dricount(void)
if (folder) {
while ((res = readdir(folder))) {
int len = SDL_strlen(res->d_name);
if (len > 4 && strncmp(res->d_name, "card", 4) == 0) {
if (len > 4 && SDL_strncmp(res->d_name, "card", 4) == 0) {
devcount++;
}
}