summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPhilip Kelley <phkelley@hotmail.com>2014-04-22 10:21:19 -0400
committerPhilip Kelley <phkelley@hotmail.com>2014-04-23 09:23:50 -0400
commit7110000dd5b82c86863633ee37f72ac876a44476 (patch)
tree72a8e3ccc4ff2e3e016a3e97933ac44f7d557f0c /tests
parent65477db1660273c453c590b8e3b97a4f7c41df61 (diff)
downloadlibgit2-7110000dd5b82c86863633ee37f72ac876a44476.tar.gz
React to feedback for UTF-8 <-> WCHAR and reparse work
Diffstat (limited to 'tests')
-rw-r--r--tests/core/link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core/link.c b/tests/core/link.c
index 20d2706f7..1794a3893 100644
--- a/tests/core/link.c
+++ b/tests/core/link.c
@@ -137,7 +137,7 @@ static void do_junction(const char *old, const char *new)
reparse_buf->ReparseTag = IO_REPARSE_TAG_MOUNT_POINT;
reparse_buf->MountPointReparseBuffer.SubstituteNameOffset = 0;
- reparse_buf->MountPointReparseBuffer.SubstituteNameLength = subst_byte_len;
+ reparse_buf->MountPointReparseBuffer.SubstituteNameLength = subst_byte_len;
reparse_buf->MountPointReparseBuffer.PrintNameOffset = (USHORT)(subst_byte_len + sizeof(WCHAR));
reparse_buf->MountPointReparseBuffer.PrintNameLength = print_byte_len;
reparse_buf->ReparseDataLength = reparse_buflen - REPARSE_DATA_HEADER_SIZE;