mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 19:23:03 +01:00
Misc.
This commit is contained in:
parent
1ed978a7bf
commit
edfbcd85da
@ -601,7 +601,7 @@ static void internal_error(ISC_STATUS status, int number, const TEXT* file, int
|
||||
if (file)
|
||||
{
|
||||
// Remove path information
|
||||
const TEXT* ptr = (TEXT*)file + strlen(file);
|
||||
const TEXT* ptr = file + strlen(file);
|
||||
for (; ptr > file; ptr--)
|
||||
{
|
||||
if ((*ptr == '/') || (*ptr == '\\'))
|
||||
|
Loading…
Reference in New Issue
Block a user