New upstream version 23.2.1+dfsg1
This commit is contained in:
parent
cdc9a9fc87
commit
b14f9eae6d
1017 changed files with 37232 additions and 11111 deletions
|
|
@ -21,7 +21,7 @@ std::string vstrprintf(const char *format, va_list args)
|
|||
return std::string();
|
||||
|
||||
std::string str;
|
||||
int size = (int)vsnprintf(nullptr, 0, format, args);
|
||||
int size = (int)vsnprintf(nullptr, 0, format, args) + 1;
|
||||
str.resize(size);
|
||||
vsnprintf(&str[0], size, format, args);
|
||||
return str;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue