1
0
forked from aniani/vim

Support completion for ":find". (Nazri Ramliy)

Cleanup white space.
This commit is contained in:
Bram Moolenaar
2010-07-14 16:52:17 +02:00
parent d43848c0dd
commit cc448b373d
32 changed files with 439 additions and 216 deletions

View File

@@ -1365,7 +1365,7 @@ get_menu_name(xp, idx)
str = menu->dname;
#ifdef FEAT_MULTI_LANG
if (menu->en_dname == NULL)
should_advance = TRUE;
should_advance = TRUE;
}
#endif
else
@@ -1374,8 +1374,8 @@ get_menu_name(xp, idx)
#ifdef FEAT_MULTI_LANG
if (should_advance)
#endif
/* Advance to next menu entry. */
menu = menu->next;
/* Advance to next menu entry. */
menu = menu->next;
#ifdef FEAT_MULTI_LANG
should_advance = !should_advance;
@@ -1445,18 +1445,18 @@ get_menu_names(xp, idx)
}
else
#ifdef FEAT_MULTI_LANG
{
if (should_advance)
str = menu->en_dname;
else
{
{
if (should_advance)
str = menu->en_dname;
else
{
#endif
str = menu->dname;
str = menu->dname;
#ifdef FEAT_MULTI_LANG
if (menu->en_dname == NULL)
should_advance = TRUE;
}
}
if (menu->en_dname == NULL)
should_advance = TRUE;
}
}
#endif
}
else
@@ -1465,8 +1465,8 @@ get_menu_names(xp, idx)
#ifdef FEAT_MULTI_LANG
if (should_advance)
#endif
/* Advance to next menu entry. */
menu = menu->next;
/* Advance to next menu entry. */
menu = menu->next;
#ifdef FEAT_MULTI_LANG
should_advance = !should_advance;
@@ -1514,7 +1514,7 @@ menu_name_equal(name, menu)
if (menu->en_name != NULL
&& (menu_namecmp(name,menu->en_name)
|| menu_namecmp(name,menu->en_dname)))
return TRUE;
return TRUE;
#endif
return menu_namecmp(name, menu->name) || menu_namecmp(name, menu->dname);
}