Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordnobori <da.git@softether.co.jp>2018-01-15 05:38:44 +0300
committerdnobori <da.git@softether.co.jp>2018-01-15 05:38:44 +0300
commitc23142a8ffc35088047060989fc3d76c5b4e00af (patch)
treec6c9b8dbe7824c82e1121ffe38889214ad81049e /src/Mayaqua/Win32.c
parentaf7b4d4afba44fc04c808a95ad5f49f5682e796d (diff)
v4.25-9656-rtmv4.25-9656-rtm
Diffstat (limited to 'src/Mayaqua/Win32.c')
-rw-r--r--src/Mayaqua/Win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mayaqua/Win32.c b/src/Mayaqua/Win32.c
index 45c7d1b0..62dea990 100644
--- a/src/Mayaqua/Win32.c
+++ b/src/Mayaqua/Win32.c
@@ -548,7 +548,7 @@ DIRLIST *Win32EnumDirExW(wchar_t *dirname, COMPARE *compare)
UniStrCpy(tmp2, sizeof(tmp2), dirname);
- if (UniStrLen(tmp2) >= 1 && tmp[UniStrLen(tmp2) - 1] == L'\\')
+ if (UniStrLen(tmp2) >= 1 && tmp2[UniStrLen(tmp2) - 1] == L'\\')
{
tmp2[UniStrLen(tmp2) - 1] = 0;
}