summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-23 14:53:34 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-23 14:53:34 +0100
commit48e330aff911be1c798c88a973af6437a8141fce (patch)
tree4945b46753c6220ae5e8cd406d139e5640bd39c4 /src/screen.c
parent4e221c99e85ed40c98892068a01270b9e7492d98 (diff)
downloadvim-git-48e330aff911be1c798c88a973af6437a8141fce.tar.gz
patch 7.4.1399v7.4.1399
Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code.
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/screen.c b/src/screen.c
index c7b46ee4e..b293869cb 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -3191,15 +3191,13 @@ win_line(
}
}
-#ifndef MSDOS
/* Check if the character under the cursor should not be inverted */
if (!highlight_match && lnum == curwin->w_cursor.lnum && wp == curwin
-# ifdef FEAT_GUI
+#ifdef FEAT_GUI
&& !gui.in_use
-# endif
+#endif
)
noinvcur = TRUE;
-#endif
/* if inverting in this line set area_highlighting */
if (fromcol >= 0)
@@ -9379,8 +9377,8 @@ win_do_lines(
* ScreenLines[] when t_CV isn't defined. That's faster than using
* win_line().
* Don't use a scroll region when we are going to redraw the text, writing
- * a character in the lower right corner of the scroll region causes a
- * scroll-up in the DJGPP version.
+ * a character in the lower right corner of the scroll region may cause a
+ * scroll-up .
*/
if (scroll_region
#ifdef FEAT_VERTSPLIT