Skip to content

Commit

Permalink
Use SDL C runtime functions
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 19, 2019
1 parent faed7f8 commit bd95290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/kmsdrm/SDL_kmsdrmvideo.c
Expand Up @@ -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++;
}
}
Expand Down

0 comments on commit bd95290

Please sign in to comment.