diff options
author | Philip Kelley <phkelley@hotmail.com> | 2014-04-22 10:21:19 -0400 |
---|---|---|
committer | Philip Kelley <phkelley@hotmail.com> | 2014-04-23 09:23:50 -0400 |
commit | 7110000dd5b82c86863633ee37f72ac876a44476 (patch) | |
tree | 72a8e3ccc4ff2e3e016a3e97933ac44f7d557f0c /src/path.c | |
parent | 65477db1660273c453c590b8e3b97a4f7c41df61 (diff) | |
download | libgit2-7110000dd5b82c86863633ee37f72ac876a44476.tar.gz |
React to feedback for UTF-8 <-> WCHAR and reparse work
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 b2845466b..2690cd8e8 100644 --- a/src/path.c +++ b/src/path.c @@ -495,7 +495,7 @@ bool git_path_is_empty_dir(const char *path) HANDLE hFind = FindFirstFileW(filter_w, &findData); /* If the find handle was created successfully, then it's a directory */ - if (INVALID_HANDLE_VALUE != hFind) { + if (hFind != INVALID_HANDLE_VALUE) { empty = true; do { |