mirror of
https://gitlab.com/bztsrc/posix-uefi.git
synced 2024-12-29 05:55:31 +01:00
Fixed issue #24
This commit is contained in:
parent
4d87d3d3ff
commit
d0282646db
1 changed files with 2 additions and 2 deletions
|
@ -550,8 +550,8 @@ int vsnprintf(char_t *dst, size_t maxlen, const char_t *fmt, __builtin_va_list a
|
|||
if(sign) {
|
||||
tmpstr[--i]=CL('-');
|
||||
}
|
||||
if(len>0 && len<21) {
|
||||
while(i>21-len) {
|
||||
if(len>0 && len<23) {
|
||||
while(i && i>23-len) {
|
||||
tmpstr[--i]=pad;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue