correct a few minor typos in sys

This commit is contained in:
nhmall
2025-10-25 10:14:28 -04:00
parent a03b2c763b
commit b72d4af837
3 changed files with 5 additions and 5 deletions

View File

@@ -827,9 +827,9 @@ get_executable_path(void)
path_buffer[length] = '\0';
#endif
char *seperator = strrchr(path_buffer, PATH_SEPARATOR);
if (seperator)
*seperator = '\0';
char *separator = strrchr(path_buffer, PATH_SEPARATOR);
if (separator)
*separator = '\0';
path_buffer_set = TRUE;
return path_buffer;