Hi all,
Yes, there is a bug in Vim. The patch below fixes it for me in Win32
gVim.
Testing on other platforms is welcome.
regards,
Alex
>>>>>>>> BEGIN HG EXPORT
# HG changeset patch
# User Alex Jakushev <
alex.j...@gmail.com>
# Date 1288740721 0
# Node ID a23c064836156051bda9a08573cc376c165e7335
# Parent df6b12c84b2359415cd987c016f5de135c680100
Bugfix - clicking on tearoff menu gave E337 error if menu was
translated.
Reason - untranslated parent menu name was posted to message queue by
tearoff, but it was compared to (possibly) translated menu name on
menu resolving.
diff -r df6b12c84b23 -r a23c06483615 src/menu.c
--- a/src/menu.c Wed Oct 27 18:36:36 2010 +0200
+++ b/src/menu.c Tue Nov 02 23:32:01 2010 +0000
@@ -2342,7 +2342,7 @@
while (menu != NULL)
{
- if (STRCMP(name, menu->name) == 0 || STRCMP(name, menu->dname)
== 0)
+ if (menu_name_equal(name, menu))
{
if (menu->children == NULL)
{
>>>>>>>> END HG EXPORT