To:
[email protected]
Subject: patch 5.5a.9
Fcc: outbox
From: Bram Moolenaar <
[email protected]>
------------
Patch 5.5a.9
Problem: 'winaltkeys' could be set to an empty argument, which is illegal.
Solution: Give an error message when doing ":set winaltkeys=".
Files: src/option.c
*** ../vim-5.5a.8/src/option.c Mon Aug 30 10:40:49 1999
--- src/option.c Thu Sep 2 20:03:51 1999
***************
*** 3059,3065 ****
/* 'winaltkeys' */
else if (varp == &p_wak)
{
! if (check_opt_strings(p_wak, p_wak_values, FALSE) != OK)
errmsg = e_invarg;
# ifdef WANT_MENU
# ifdef USE_GUI_MOTIF
--- 3059,3066 ----
/* 'winaltkeys' */
else if (varp == &p_wak)
{
! if (*p_wak == NUL
! || check_opt_strings(p_wak, p_wak_values, FALSE) != OK)
errmsg = e_invarg;
# ifdef WANT_MENU
# ifdef USE_GUI_MOTIF
*** ../vim-5.5a.8/src/version.c Thu Sep 2 12:47:21 1999
--- src/version.c Thu Sep 2 20:07:15 1999
***************
*** 420,420 ****
--- 420,421 ----
{ /* Add new patch number below this line */
+ 9,
--
CONCORDE: Quickly, sir, come this way!
LAUNCELOT: No! It's not right for my idiom. I must escape more ... more ...
CONCORDE: Dramatically, sir?
LAUNCELOT: Dramatically.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
--/-/---- Bram Moolenaar ----
[email protected] ----
[email protected] ---\-\--
\ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /