summaryrefslogtreecommitdiffstats
path: root/src/gui_mac.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-03-23 15:13:05 +0100
committerBram Moolenaar <Bram@vim.org>2014-03-23 15:13:05 +0100
commitf7ff6e85e8a4e84cff023f5db4b66ef85986605a (patch)
tree813913a9c1d1418b5b85e3a4bc414dbeb2b3f6a3 /src/gui_mac.c
parenta68783751647e3243ca6f22df62907efbdbccb02 (diff)
updated for version 7.4.212v7.4.212
Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
Diffstat (limited to 'src/gui_mac.c')
-rw-r--r--src/gui_mac.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui_mac.c b/src/gui_mac.c
index 573dc7a116..54087c518b 100644
--- a/src/gui_mac.c
+++ b/src/gui_mac.c
@@ -1068,11 +1068,7 @@ HandleODocAE(const AppleEvent *theAEvent, AppleEvent *theReply, long refCon)
}
*/
-
-#ifdef FEAT_VISUAL
reset_VIsual();
-#endif
-
fnames = new_fnames_from_AEDesc(&theList, &numFiles, &error);
if (error)
@@ -1142,7 +1138,7 @@ HandleODocAE(const AppleEvent *theAEvent, AppleEvent *theReply, long refCon)
/* Update the screen display */
update_screen(NOT_VALID);
-#ifdef FEAT_VISUAL
+
/* Select the text if possible */
if (gotPosition)
{
@@ -1160,7 +1156,7 @@ HandleODocAE(const AppleEvent *theAEvent, AppleEvent *theReply, long refCon)
VIsual.col = 0;
}
}
-#endif
+
setcursor();
out_flush();