summaryrefslogtreecommitdiffstats
path: root/src/gui_w32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-08-11 19:14:00 +0200
committerBram Moolenaar <Bram@vim.org>2015-08-11 19:14:00 +0200
commitcde885473099296c4837de261833f48b24caf87c (patch)
tree7864f4147f9c3b57a77b649c7d14e8ad31cafa6c /src/gui_w32.c
parentbd8539aac385d265d41da2e8ab59d7b9c3694557 (diff)
patch 7.4.822v7.4.822
Problem: More problems reported by coverity. Solution: Avoid the warnings. (Christian Brabandt)
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 4fbf70edcc..bf8f12299c 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -17,7 +17,7 @@
* scrollbars, etc.
*
* Note: Clipboard stuff, for cutting and pasting text to other windows, is in
- * os_win32.c. (It can also be done from the terminal version).
+ * winclip.c. (It can also be done from the terminal version).
*
* TODO: Some of the function signatures ought to be updated for Win64;
* e.g., replace LONG with LONG_PTR, etc.
@@ -76,7 +76,7 @@ gui_mch_set_rendering_options(char_u *s)
char_u name[128];
char_u value[128];
- copy_option_part(&p, item, sizeof(item), ",");
+ copy_option_part(&p, item, sizeof(item), ",");
if (p == NULL)
break;
q = &item[0];
@@ -1227,7 +1227,7 @@ _WndProc(
return result;
}
#endif
- gui_mch_get_winpos(&x, &y);
+ (void)gui_mch_get_winpos(&x, &y);
xPos -= x;
if (xPos < 48) /* <VN> TODO should use system metric? */