mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-23 20:14:23 +00:00
windows: Fix API test (pathsep)
This commit is contained in:
+1
-1
@@ -630,7 +630,7 @@ main(int argc, char **argv)
|
||||
(void)argc; // unused parameter
|
||||
|
||||
char *progdir = strdup(argv[0]);
|
||||
char *dir = strrchr(progdir, '/');
|
||||
char *dir = strrchr(progdir, PATHSEP);
|
||||
if (dir != NULL) *dir = 0;
|
||||
|
||||
test_espeak_terminate_without_initialize();
|
||||
|
||||
Reference in New Issue
Block a user