summaryrefslogtreecommitdiff
path: root/src/fileops.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-08-08 08:48:57 -0700
committerBen Straub <bs@github.com>2013-08-08 08:48:57 -0700
commitaaefbdeea205fbea2005113a9743c81721a42b36 (patch)
tree8054ef69384be26ce48c6f6d8c8fbfc947eeb445 /src/fileops.c
parent2c0128ee79243d32e60f19e60acc2e297c1761d6 (diff)
downloadlibgit2-aaefbdeea205fbea2005113a9743c81721a42b36.tar.gz
Discriminate path-specific and general UTF-X conversions
Diffstat (limited to 'src/fileops.c')
-rw-r--r--src/fileops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileops.c b/src/fileops.c
index 25323d0c9..d62158db7 100644
--- a/src/fileops.c
+++ b/src/fileops.c
@@ -60,7 +60,7 @@ int git_futils_creat_locked(const char *path, const mode_t mode)
#ifdef GIT_WIN32
git_win32_path_utf16 buf;
- git__utf8_to_16(buf, path);
+ git__win32_path_utf8_to_16(buf, path);
fd = _wopen(buf, O_WRONLY | O_CREAT | O_TRUNC |
O_EXCL | O_BINARY | O_CLOEXEC, mode);
#else