* Make the kernel (and boot loader) version of vsnprintf() (that backs up all
formatted printing) aware of '%%', closing bug #2953. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28323 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b93eb3a008
commit
b4743cca80
@ -327,6 +327,11 @@ vsnprintf(char *buffer, size_t bufferSize, const char *format, va_list args)
|
||||
case ' ': flags |= SPACE; goto repeat;
|
||||
case '#': flags |= SPECIAL; goto repeat;
|
||||
case '0': flags |= ZEROPAD; goto repeat;
|
||||
|
||||
case '%':
|
||||
if (!put_character(&string, &bytesLeft, format[0]))
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
/* get field width */
|
||||
|
Loading…
Reference in New Issue
Block a user