Mercurial > vim
comparison src/os_unix.c @ 7009:286fd54c7ae3 v7.4.822
patch 7.4.822
Problem: More problems reported by coverity.
Solution: Avoid the warnings. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 11 Aug 2015 19:14:00 +0200 |
parents | 62ba356c2d4e |
children | fa95595fbc52 |
comparison
equal
deleted
inserted
replaced
7008:7ce1f4e998bb | 7009:286fd54c7ae3 |
---|---|
6999 } | 6999 } |
7000 | 7000 |
7001 /* Rely on the same mouse code for the duration of this */ | 7001 /* Rely on the same mouse code for the duration of this */ |
7002 mouse_code = find_termcode(mouse_name); | 7002 mouse_code = find_termcode(mouse_name); |
7003 prev_row = mouse_row; | 7003 prev_row = mouse_row; |
7004 prev_row = mouse_col; | 7004 prev_col = mouse_col; |
7005 xterm_trace = 2; | 7005 xterm_trace = 2; |
7006 | 7006 |
7007 /* Find the offset of the chars, there might be a scrollbar on the | 7007 /* Find the offset of the chars, there might be a scrollbar on the |
7008 * left of the window and/or a menu on the top (eterm etc.) */ | 7008 * left of the window and/or a menu on the top (eterm etc.) */ |
7009 XQueryPointer(xterm_dpy, x11_window, &root, &child, &root_x, &root_y, | 7009 XQueryPointer(xterm_dpy, x11_window, &root, &child, &root_x, &root_y, |