mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
making one more wine msvcrt printf test pass
now it is 62 fails instead of 63 fails svn path=/trunk/; revision=22082
This commit is contained in:
@@ -506,7 +506,7 @@ int _vsnprintf(char *buf, size_t cnt, const char *fmt, va_list args)
|
||||
{
|
||||
/* don't write out a null byte if the buf size is zero */
|
||||
//*end = '\0';
|
||||
if (str-buf >=cnt )
|
||||
if (str-buf >cnt )
|
||||
{
|
||||
*end = '\0';
|
||||
}
|
||||
|
||||
@@ -504,7 +504,7 @@ int _vsnwprintf(wchar_t *buf, size_t cnt, const wchar_t *fmt, va_list args)
|
||||
{
|
||||
/* don't write out a null byte if the buf size is zero */
|
||||
//*end = '\0';
|
||||
if (str-buf >=cnt )
|
||||
if (str-buf >cnt )
|
||||
{
|
||||
*end = L'\0';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user