diff src/popupwin.c @ 17875:f13a5c48320b v8.1.1934

patch 8.1.1934: not enough tests for text property popup window Commit: https://github.com/vim/vim/commit/bc2d4c1db6d47f6d04412bb5f94b52e444faebc8 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 28 22:18:30 2019 +0200 patch 8.1.1934: not enough tests for text property popup window Problem: Not enough tests for text property popup window. Solution: Add a few more tests.
author Bram Moolenaar <Bram@vim.org>
date Wed, 28 Aug 2019 22:30:03 +0200
parents 08f1dd29550e
children 5d5b460926ca
line wrap: on
line diff
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -1103,7 +1103,7 @@ popup_adjust_position(win_T *wp)
 	    wantcol = screen_ecol + wantcol;
 	else
 	    // left of the text
-	    wantcol = screen_scol + wantcol - 1;
+	    wantcol = screen_scol + wantcol - 2;
     }
 
     if (wp->w_popup_pos == POPPOS_CENTER)