mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
Update
This commit is contained in:
parent
a59b32b1ee
commit
671efe625a
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user