diff options
author | 2006-04-13 22:18:51 +1000 | |
---|---|---|
committer | 2006-04-13 22:18:51 +1000 | |
commit | 45d56d8e058895196bf341d8a27fd8003bd831d9 (patch) | |
tree | c6ccbdcd2bf249ee8e581fd23f329f50b5ef6418 /fallback.c | |
parent | 53295d38b755dc87c8b882b9d9b3c3c072d3749a (diff) |
Drop all calls to wcsncpy
darcs-hash:20060413121851-ac50b-1f479b96b3aa1050a30e9ee0ed27cc107ce2bc45.gz
Diffstat (limited to 'fallback.c')
-rw-r--r-- | fallback.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -818,8 +818,7 @@ wchar_t *wcsndup( const wchar_t *in, int c ) { return 0; } - wcsncpy( res, in, c+1 ); - res[c] = L'\0'; + wcslcpy( res, in, c+1 ); return res; } #endif |