bugfix: correct path now returned.
This was SVN commit r873.
This commit is contained in:
parent
358cf63bf3
commit
44a4262ab8
@ -272,7 +272,7 @@ static int extract_events(Watch* w)
|
||||
|
||||
// convert filename from Windows BSTR
|
||||
// (can't use wcstombs - FileName isn't 0-terminated)
|
||||
std::string fn;
|
||||
std::string fn = w->dir_name;
|
||||
for(int i = 0; i < (int)fni->FileNameLength/2; i++)
|
||||
fn += (char)fni->FileName[i];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user