triviality: remove / from module filename in exception report

This was SVN commit r901.
This commit is contained in:
janwas 2004-08-05 02:30:27 +00:00
parent 5bc8cb1ddb
commit f01b1ebb58

View File

@ -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
}