mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 12:23:31 +00:00
fixing 24 bugs in *printf string version. we are failing 34 test in wine_test msvcrt printf
svn path=/trunk/; revision=22214
This commit is contained in:
@@ -648,11 +648,6 @@ int _vsnprintf(char *buf, size_t cnt, const char *fmt, va_list args)
|
||||
break;
|
||||
|
||||
default:
|
||||
if (*fmt != '%') {
|
||||
if (str <= end)
|
||||
*str = '%';
|
||||
++str;
|
||||
}
|
||||
if (*fmt) {
|
||||
if (str <= end)
|
||||
*str = *fmt;
|
||||
|
||||
@@ -647,12 +647,7 @@ int _vsnwprintf(wchar_t *buf, size_t cnt, const wchar_t *fmt, va_list args)
|
||||
case L'u':
|
||||
break;
|
||||
|
||||
default:
|
||||
if (*fmt != L'%') {
|
||||
if (str <= end)
|
||||
*str = L'%';
|
||||
++str;
|
||||
}
|
||||
default:
|
||||
if (*fmt) {
|
||||
if (str <= end)
|
||||
*str = *fmt;
|
||||
|
||||
Reference in New Issue
Block a user