Mercurial > vim
comparison src/menu.c @ 835:8bebcabccc2c v7.0e01
updated for version 7.0e01
author | vimboss |
---|---|
date | Mon, 17 Apr 2006 22:14:47 +0000 |
parents | f40f1a8520ff |
children | 8e5830943bff |
comparison
equal
deleted
inserted
replaced
834:5117153003bd | 835:8bebcabccc2c |
---|---|
757 { | 757 { |
758 menu->strings[i][0] = c; | 758 menu->strings[i][0] = c; |
759 STRCPY(menu->strings[i] + 1, call_data); | 759 STRCPY(menu->strings[i] + 1, call_data); |
760 if (c == Ctrl_C) | 760 if (c == Ctrl_C) |
761 { | 761 { |
762 int len = STRLEN(menu->strings[i]); | 762 int len = (int)STRLEN(menu->strings[i]); |
763 | 763 |
764 /* Append CTRL-\ CTRL-G to obey 'insertmode'. */ | 764 /* Append CTRL-\ CTRL-G to obey 'insertmode'. */ |
765 menu->strings[i][len] = Ctrl_BSL; | 765 menu->strings[i][len] = Ctrl_BSL; |
766 menu->strings[i][len + 1] = Ctrl_G; | 766 menu->strings[i][len + 1] = Ctrl_G; |
767 menu->strings[i][len + 2] = NUL; | 767 menu->strings[i][len + 2] = NUL; |