summaryrefslogtreecommitdiff
path: root/src/win32/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/error.c')
-rw-r--r--src/win32/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/error.c b/src/win32/error.c
index a62a07e82..bc598ae32 100644
--- a/src/win32/error.c
+++ b/src/win32/error.c
@@ -47,7 +47,7 @@ char *git_win32_get_error_message(DWORD error_code)
(LPWSTR)&lpMsgBuf, 0, NULL)) {
/* Invalid code point check supported on Vista+ only */
- if (git_has_win32_version(6, 0))
+ if (git_has_win32_version(6, 0, 0))
dwFlags = WC_ERR_INVALID_CHARS;
else
dwFlags = 0;