mirror of
https://github.com/reactos/reactos.git
synced 2024-08-01 00:58:16 +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:
parent
6999a6bc5c
commit
b254c4649e
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue