Hi

I see a minor bug in Vim-7.3.329 on Linux.
Command ":language fr_FR.UTF-8"  does not update the language
of the title in the terminal or title of gvim. Doing ":redraw!" does not
help either.  The language of the title gets updated after resizing the
terminal or gvim.

Steps to reproduce:

1) Start gvim with:
    $ (export LANG=en_US.UTF-8; gvim -u NONE -U NONE)

2) Observe that the window title is in English "[No Name] - GVIM1".

3) Enter Ex command    :language fr_FR.UTF-8

4) Observe that window title is still in English (bug!, I'd
   expect it to become in French).
   Doing ":redraw!"  does not work around.
   Observe that after resizing the window, title then
   becomes in French:  "[Aucun nom] - GVIM1"

Attached patch fixes it.

Regards
-- Dominique

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff -r fb6b43d55773 src/ex_cmds2.c
--- a/src/ex_cmds2.c	Fri Sep 30 18:35:57 2011 +0200
+++ b/src/ex_cmds2.c	Sat Oct 01 12:43:50 2011 +0200
@@ -4154,6 +4154,9 @@
 	    /* Set v:lang, v:lc_time and v:ctype to the final result. */
 	    set_lang_var();
 # endif
+# ifdef FEAT_TITLE
+	    maketitle();
+# endif
 	}
     }
 }

Raspunde prin e-mail lui