Use SDL C runtime functions
This commit is contained in:
parent
5ac3101d1e
commit
53fc78ad46
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue