mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-23 10:43:22 -05:00
Update
This commit is contained in:
@@ -167,7 +167,7 @@ char *realpath(const char *path, char *resolved)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
int uncpath(const char* path, WCHAR* buf, int nchar)
|
int uncpath(const char *path, WCHAR *buf, int nchar)
|
||||||
{
|
{
|
||||||
if (4 < nchar &&
|
if (4 < nchar &&
|
||||||
0 < MultiByteToWideChar(CP_UTF8, 0, path, -1, &buf[4], nchar - 4))
|
0 < MultiByteToWideChar(CP_UTF8, 0, path, -1, &buf[4], nchar - 4))
|
||||||
|
@@ -167,7 +167,7 @@ char *realpath(const char *path, char *resolved)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
int uncpath(const char* path, WCHAR* buf, int nchar)
|
int uncpath(const char *path, WCHAR *buf, int nchar)
|
||||||
{
|
{
|
||||||
if (4 < nchar &&
|
if (4 < nchar &&
|
||||||
0 < MultiByteToWideChar(CP_UTF8, 0, path, -1, &buf[4], nchar - 4))
|
0 < MultiByteToWideChar(CP_UTF8, 0, path, -1, &buf[4], nchar - 4))
|
||||||
|
Reference in New Issue
Block a user