Mercurial > hg > xemacs-beta
comparison src/intl-win32.c @ 5027:22179cd0fe15
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 10 Feb 2010 07:25:19 -0600 |
parents | 2ade80e8c640 |
children | 8b2f75cecb89 |
comparison
equal
deleted
inserted
replaced
5026:46cf825f6158 | 5027:22179cd0fe15 |
---|---|
1599 #endif /* not HAVE_WCSLEN */ | 1599 #endif /* not HAVE_WCSLEN */ |
1600 | 1600 |
1601 wchar_t * | 1601 wchar_t * |
1602 wcsncpy (wchar_t *dst0, const wchar_t *src0, size_t count) | 1602 wcsncpy (wchar_t *dst0, const wchar_t *src0, size_t count) |
1603 { | 1603 { |
1604 if (dst0 == NULL || src0 == NULL) return NULL; | |
1605 wchar_t *dscan; | 1604 wchar_t *dscan; |
1606 const wchar_t *sscan; | 1605 const wchar_t *sscan; |
1607 | 1606 |
1607 if (dst0 == NULL || src0 == NULL) return NULL; | |
1608 dscan = dst0; | 1608 dscan = dst0; |
1609 sscan = src0; | 1609 sscan = src0; |
1610 while (count > 0) | 1610 while (count > 0) |
1611 { | 1611 { |
1612 --count; | 1612 --count; |