summaryrefslogtreecommitdiffstats
path: root/src/gui_mac.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-01-08 21:45:39 +0000
committerBram Moolenaar <Bram@vim.org>2005-01-08 21:45:39 +0000
commit9588a0f72bc1f72962e3e327d29775d3a970e579 (patch)
tree239a6a28f7f033daafca7b95ca8b10150de8328f /src/gui_mac.c
parente49b69a091e72ce1b1a5e7091ebf2ebddd795e6d (diff)
updated for version 7.0035
Diffstat (limited to 'src/gui_mac.c')
-rw-r--r--src/gui_mac.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/gui_mac.c b/src/gui_mac.c
index 3b73339df4..b930852a48 100644
--- a/src/gui_mac.c
+++ b/src/gui_mac.c
@@ -5672,27 +5672,16 @@ display_errors()
#endif
/*
- * Get current y mouse coordinate in text window.
- * Return -1 when unknown.
+ * Get current mouse coordinates in text window.
*/
- int
-gui_mch_get_mouse_x()
-{
- Point where;
-
- GetMouse(&where);
-
- return (where.h);
-}
-
- int
-gui_mch_get_mouse_y()
+void gui_mch_getmouse(int *x, int *y)
{
Point where;
GetMouse(&where);
- return (where.v);
+ *x = where.h;
+ *y = where.v;
}
void