mirror of
https://gitlab.com/bztsrc/posix-uefi.git
synced 2025-01-01 03:25:52 +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) {
|
if(sign) {
|
||||||
tmpstr[--i]=CL('-');
|
tmpstr[--i]=CL('-');
|
||||||
}
|
}
|
||||||
if(len>0 && len<21) {
|
if(len>0 && len<23) {
|
||||||
while(i>21-len) {
|
while(i && i>23-len) {
|
||||||
tmpstr[--i]=pad;
|
tmpstr[--i]=pad;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue