Hi
Function gui_mch_get_winpos(...) in vim/src/gui_mac.c ends
with 2 consecutive return statements which is obviously wrong:
3291 int
3292 gui_mch_get_winpos(int *x, int *y)
3293 {
....
3305 return OK;
3306 return FAIL;
3307 }
Fixed in attached patch.
-- Dominique
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff -r cc606937e937 src/gui_mac.c
--- a/src/gui_mac.c Thu Dec 08 18:44:51 2011 +0100
+++ b/src/gui_mac.c Sat Dec 10 14:57:35 2011 +0100
@@ -3216,7 +3216,7 @@
{
/* TODO:
* This proc is called when Normal is set to a value
- * so what msut be done? I don't know
+ * so what must be done? I don't know
*/
}
@@ -3303,7 +3303,6 @@
*x = bounds.left;
*y = bounds.top;
return OK;
- return FAIL;
}
/*