change var file to loc for msvc

git-svn-id: file:///home/jj/hercules.svn/trunk@5228 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
Jan Jaeger
2009-03-01 17:00:09 +00:00
parent 7afe08292d
commit 88353ef9a4

View File

@@ -552,10 +552,10 @@ int i, n;
#if defined( _MSVC_ ) // fish debug; appears to be vstore.h
// maybe all *.h files are this way??
{
char* p = strrchr( file, '\\' );
if (!p) p = strrchr( file, '/' );
char* p = strrchr( loc, '\\' );
if (!p) p = strrchr( loc, '/' );
if (p)
file = p+1;
loc = p+1;
}
#endif