mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: replace deprecated sprintf()/vsprintf() calls
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c5fcdfae30
commit
aa5f2e7c73
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ static QString str_error(const char *fmt, ...)
|
|||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
const QString str = QString().vsprintf(fmt, args);
|
||||
const QString str = QString().vasprintf(fmt, args);
|
||||
va_end(args);
|
||||
|
||||
return str;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue