diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-01-08 21:45:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-01-08 21:45:39 +0000 |
commit | 9588a0f72bc1f72962e3e327d29775d3a970e579 (patch) | |
tree | 239a6a28f7f033daafca7b95ca8b10150de8328f /src/gui_mac.c | |
parent | e49b69a091e72ce1b1a5e7091ebf2ebddd795e6d (diff) | |
download | vim-git-9588a0f72bc1f72962e3e327d29775d3a970e579.tar.gz |
updated for version 7.0035
Diffstat (limited to 'src/gui_mac.c')
-rw-r--r-- | src/gui_mac.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/src/gui_mac.c b/src/gui_mac.c index 3b73339df..b930852a4 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 |