]> granicus.if.org Git - vim/commitdiff
patch 8.1.1586: error number used in two places v8.1.1586
authorBram Moolenaar <Bram@vim.org>
Mon, 24 Jun 2019 03:06:36 +0000 (05:06 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 24 Jun 2019 03:06:36 +0000 (05:06 +0200)
Problem:    Error number used in two places.
Solution:   Renumber one. (Ken Takata)

runtime/doc/popup.txt
src/popupwin.c
src/version.c

index f39725717b0527096fb00c384dcd621c5b9feb3c..d04a6b44ec72ae1a11ac7d50d19eda961d168b50 100644 (file)
@@ -483,7 +483,7 @@ The second argument of |popup_create()| is a dictionary with options:
                        tab page.
                        Otherwise the number of the tab page the popup is
                        displayed on; when invalid the popup is not created
-                       and an error is given. *E996*
+                       and an error is given. *E997*
        title           Text to be displayed above the first item in the
                        popup, on top of any border.  If there is no top
                        border one line of padding is added to put the title
index f6da71da82ba14ea78e027f2feadbc80d77a1613..16ec1a2830eabfe30df979434d924df320846114 100644 (file)
@@ -892,7 +892,7 @@ popup_create(typval_T *argvars, typval_T *rettv, create_type_T type)
        tp = find_tabpage(tabnr);
        if (tp == NULL)
        {
-           semsg(_("E996: Tabpage not found: %d"), tabnr);
+           semsg(_("E997: Tabpage not found: %d"), tabnr);
            return NULL;
        }
     }
index 58bfc1e949adb72b6477b0d7bd44d106fc446c4d..9d2f26cbb26bd8aa9a5289bc02fd1e932b0843ce 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1586,
 /**/
     1585,
 /**/