summaryrefslogtreecommitdiff
path: root/src/os_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index 100c39567..3fdd41b6d 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -231,7 +231,7 @@ get_exe_name(void)
* "!xxd" it's found in our starting directory. Needed because
* SearchPath() also looks there. */
p = mch_getenv("PATH");
- if (STRLEN(p) + STRLEN(exe_path) + 2 < MAXPATHL);
+ if (STRLEN(p) + STRLEN(exe_path) + 2 < MAXPATHL)
{
STRCPY(temp, p);
STRCAT(temp, ";");