Fix return value of wcscat(3).

This commit is contained in:
Jonas 'Sortie' Termansen 2014-09-24 21:38:46 +02:00
parent 9291dae58f
commit 0b1af77ca0
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
/*******************************************************************************
Copyright(C) Jonas 'Sortie' Termansen 2011, 2012, 2013.
Copyright(C) Jonas 'Sortie' Termansen 2011, 2012, 2013, 2014.
This file is part of the Sortix C Library.
@ -26,5 +26,6 @@
extern "C" wchar_t* wcscat(wchar_t* dest, const wchar_t* src)
{
return wcscpy(dest + wcslen(dest), src);
wcscpy(dest + wcslen(dest), src);
return dest;
}