Fixed stack traces for win32 (#2642).
This commit is contained in:
@@ -193,8 +193,8 @@
|
||||
}
|
||||
|
||||
// Only keep the directory
|
||||
char* last_separator = strchr(filepath, '/');
|
||||
if(!last_separator) last_separator = strchr(filepath, '\\');
|
||||
char* last_separator = strrchr(filepath, '/');
|
||||
if(!last_separator) last_separator = strrchr(filepath, '\\');
|
||||
if(last_separator)
|
||||
last_separator[0] = '\0';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user