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:
Magnus Olsen 2006-06-04 17:15:47 +00:00
parent 1988057885
commit 5f286cc809
2 changed files with 1 additions and 11 deletions

View file

@ -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;

View file

@ -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;