extern "C"
{
+#include "pathconvert.h"
#include "getlongpathname.h"
#include "Scierror.h"
#include "localization.h"
for (int i = 0 ; i < size; i++)
{
wchar_t* tmp = getlongpathnameW(p[i], (BOOL*)&pBool[i]);
- pOut1->set(i, tmp);
+ wchar_t* pwstPath = pathconvertW(tmp, FALSE, FALSE, AUTO_STYLE);
+ pOut1->set(i, pwstPath);
+ FREE(pwstPath);
FREE(tmp);
}