diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dosinst.c | 4 | ||||
-rw-r--r-- | src/fileio.c | 1 | ||||
-rw-r--r-- | src/gui_w32.c | 5 | ||||
-rw-r--r-- | src/os_mswin.c | 2 | ||||
-rw-r--r-- | src/os_win32.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
6 files changed, 9 insertions, 8 deletions
diff --git a/src/dosinst.c b/src/dosinst.c index e77152fdd..23cf2d31f 100644 --- a/src/dosinst.c +++ b/src/dosinst.c @@ -211,8 +211,8 @@ check_unpack(void) { printf("ERROR: Cannot find filetype.vim in \"%s\"\n", installdir); printf("It looks like you did not unpack the runtime archive.\n"); - printf("You must unpack the runtime archive \"vim%srt.zip\" before installing.\n", - VIM_VERSION_NODOT + 3); + printf("You must unpack the runtime archive \"%srt.zip\" before installing.\n", + VIM_VERSION_NODOT); myexit(1); } diff --git a/src/fileio.c b/src/fileio.c index e99eb9bb8..2c6c3381c 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -1631,7 +1631,6 @@ retry: * Do the conversion. */ dst = ptr; - size = size; while (size > 0) { found_bad = FALSE; diff --git a/src/gui_w32.c b/src/gui_w32.c index 0bac12ac0..3e1addbf9 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -4153,7 +4153,8 @@ _OnMouseWheel(HWND hwnd, WPARAM wParam, LPARAM lParam, int horizontal) { int button; win_T *wp; - int modifiers, kbd_modifiers; + int modifiers = 0; + int kbd_modifiers; int zDelta = GET_WHEEL_DELTA_WPARAM(wParam); POINT pt; @@ -4213,7 +4214,7 @@ _OnMouseWheel(HWND hwnd, WPARAM wParam, LPARAM lParam, int horizontal) pt.y = GET_Y_LPARAM(lParam); ScreenToClient(s_textArea, &pt); - gui_send_mouse_event(button, pt.x, pt.y, FALSE, kbd_modifiers); + gui_send_mouse_event(button, pt.x, pt.y, FALSE, modifiers); } #ifdef USE_SYSMENU_FONT diff --git a/src/os_mswin.c b/src/os_mswin.c index 6310a1aaf..b6e8d71e4 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -560,7 +560,7 @@ resolve_appexeclink(char_u *fname) && idx < (int)rb->AppExecLinkReparseBuffer.StringCount && idx != 2; ) { - if ((*p++ == L'\0')) + if (*p++ == L'\0') ++idx; } diff --git a/src/os_win32.c b/src/os_win32.c index 6a02fe283..300045b3f 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -3495,7 +3495,7 @@ mch_writable(char_u *name) * the allocated memory. */ int -mch_can_exe(char_u *name, char_u **path, int use_path) +mch_can_exe(char_u *name, char_u **path, int use_path UNUSED) { return executable_exists((char *)name, path, TRUE, TRUE); } @@ -8379,7 +8379,6 @@ stop_timeout(void) const int * start_timeout(long msec) { - UINT interval = (UINT)msec; BOOL ret; timeout_flag = &timeout_flags[flag_idx]; diff --git a/src/version.c b/src/version.c index 1c1901595..de4f27cdb 100644 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 5069, +/**/ 5068, /**/ 5067, |