summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-01-13 15:18:01 +0000
committerBram Moolenaar <Bram@vim.org>2008-01-13 15:18:01 +0000
commitc4cd38f369d7ca3e60a1acc10461ee03346cceff (patch)
treecefc5dc0c5bd58fd355ae023b1e6ea956cb3ba69 /src/main.c
parentc724791b14c94faa2cb0b103b5e33a81a12f8f5e (diff)
updated for version 7.1-224v7.1.224
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 45282ba55f..07390a9327 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1775,7 +1775,8 @@ command_line_scan(parmp)
case 'F': /* "-F" start in Farsi mode: rl + fkmap set */
#ifdef FEAT_FKMAP
- curwin->w_p_rl = p_fkmap = TRUE;
+ p_fkmap = TRUE;
+ set_option_value((char_u *)"rl", 1L, NULL, 0);
#else
mch_errmsg(_(e_nofarsi));
mch_exit(2);
@@ -1792,7 +1793,8 @@ command_line_scan(parmp)
case 'H': /* "-H" start in Hebrew mode: rl + hkmap set */
#ifdef FEAT_RIGHTLEFT
- curwin->w_p_rl = p_hkmap = TRUE;
+ p_hkmap = TRUE;
+ set_option_value((char_u *)"rl", 1L, NULL, 0);
#else
mch_errmsg(_(e_nohebrew));
mch_exit(2);