Mercurial > vim
comparison src/GvimExt/gvimext.cpp @ 1953:378e33d47ab0 v7.2.250
updated for version 7.2-250
author | vimboss |
---|---|
date | Fri, 11 Sep 2009 11:26:56 +0000 |
parents | c7c53db66b55 |
children | b9bc9c5df131 |
comparison
equal
deleted
inserted
replaced
1952:6ddd55ac6ce5 | 1953:378e33d47ab0 |
---|---|
633 --pos; | 633 --pos; |
634 *pos = 0; | 634 *pos = 0; |
635 } | 635 } |
636 // Now concatenate | 636 // Now concatenate |
637 strncpy(temp, _("Edit with existing Vim - "), BUFSIZE - 1); | 637 strncpy(temp, _("Edit with existing Vim - "), BUFSIZE - 1); |
638 strncat(temp, title, BUFSIZE - 1); | 638 temp[BUFSIZE - 1] = '\0'; |
639 strncat(temp, title, BUFSIZE - 1 - strlen(temp)); | |
640 temp[BUFSIZE - 1] = '\0'; | |
639 InsertMenu(hMenu, | 641 InsertMenu(hMenu, |
640 indexMenu++, | 642 indexMenu++, |
641 MF_STRING|MF_BYPOSITION, | 643 MF_STRING|MF_BYPOSITION, |
642 idCmd++, | 644 idCmd++, |
643 temp); | 645 temp); |