comparison src/misc1.c @ 2017:9cbe94fd5c8f v7.2.314

updated for version 7.2-314
author vimboss
date Wed, 02 Dec 2009 16:47:11 +0000
parents 03c191181749
children 66b1822ba176
comparison
equal deleted inserted replaced
2016:03c191181749 2017:9cbe94fd5c8f
4664 STRCAT(dest, fname2); 4664 STRCAT(dest, fname2);
4665 } 4665 }
4666 return dest; 4666 return dest;
4667 } 4667 }
4668 4668
4669 #if defined(FEAT_EVAL) || defined(FEAT_GETTEXT) || defined(PROTO)
4670 /* 4669 /*
4671 * Concatenate two strings and return the result in allocated memory. 4670 * Concatenate two strings and return the result in allocated memory.
4672 * Returns NULL when out of memory. 4671 * Returns NULL when out of memory.
4673 */ 4672 */
4674 char_u * 4673 char_u *
4685 STRCPY(dest, str1); 4684 STRCPY(dest, str1);
4686 STRCPY(dest + l, str2); 4685 STRCPY(dest + l, str2);
4687 } 4686 }
4688 return dest; 4687 return dest;
4689 } 4688 }
4690 #endif
4691 4689
4692 /* 4690 /*
4693 * Add a path separator to a file name, unless it already ends in a path 4691 * Add a path separator to a file name, unless it already ends in a path
4694 * separator. 4692 * separator.
4695 */ 4693 */