mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-01 17:37:39 +00:00
Use SDL C runtime strlen()
This commit is contained in:
parent
ca42373fb5
commit
fed9b60492
1 changed files with 1 additions and 1 deletions
|
@ -799,7 +799,7 @@ ALSA_HotplugThread(void *arg)
|
|||
|
||||
for (j = 0; prefixes[j]; j++) {
|
||||
const char *prefix = prefixes[j];
|
||||
const size_t prefixlen = strlen(prefix);
|
||||
const size_t prefixlen = SDL_strlen(prefix);
|
||||
if (SDL_strncmp(name, prefix, prefixlen) == 0) {
|
||||
if (j < bestmatch) {
|
||||
bestmatch = j;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue