mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-23 13:12:55 +00:00
triviality: remove / from module filename in exception report
This was SVN commit r901.
This commit is contained in:
@@ -625,7 +625,9 @@ static long CALLBACK except_filter(EXCEPTION_POINTERS* except)
|
||||
{
|
||||
base = (uintptr_t)mbi.AllocationBase;
|
||||
if(GetModuleFileName((HMODULE)base, module_buf, sizeof(module_buf)))
|
||||
module = strrchr(module_buf, '\\');
|
||||
module = strrchr(module_buf, '\\')+1;
|
||||
// GetModuleFileName returns fully qualified path =>
|
||||
// trailing '\\' exists
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user