mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 21:48:19 +00:00
- Fix a typo (lead to memory overwrite).
svn path=/trunk/; revision=30952
This commit is contained in:
parent
35fcb63351
commit
aa64119a57
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ Directory::Directory ( const string& name_ )
|
||||||
|
|
||||||
if ( p )
|
if ( p )
|
||||||
{
|
{
|
||||||
name.erase ( p - name.c_str ());
|
name.erase ( p - name_.c_str ());
|
||||||
Add ( p + 1 );
|
Add ( p + 1 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue