diff options
author | Ben Straub <bs@github.com> | 2013-08-08 19:48:57 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2013-08-08 19:48:57 +0400 |
commit | aaefbdeea205fbea2005113a9743c81721a42b36 (patch) | |
tree | 8054ef69384be26ce48c6f6d8c8fbfc947eeb445 /src/path.c | |
parent | 2c0128ee79243d32e60f19e60acc2e297c1761d6 (diff) |
Discriminate path-specific and general UTF-X conversions
Diffstat (limited to 'src/path.c')
-rw-r--r-- | src/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path.c b/src/path.c index 72831c736..d0cecc070 100644 --- a/src/path.c +++ b/src/path.c @@ -493,7 +493,7 @@ bool git_path_is_empty_dir(const char *path) if (!git_path_isdir(path)) return false; git_buf_printf(&pathbuf, "%s\\*", path); - git__utf8_to_16(wbuf, git_buf_cstr(&pathbuf)); + git__win32_path_utf8_to_16(wbuf, git_buf_cstr(&pathbuf)); hFind = FindFirstFileW(wbuf, &ffd); if (INVALID_HANDLE_VALUE == hFind) { |