resize during tracker print
This commit is contained in:
parent
c67967161e
commit
c60b284e1f
@ -174,6 +174,7 @@ inline void TrackerPrintf(const char *fmt, ...) {
|
|||||||
va_start(args, fmt);
|
va_start(args, fmt);
|
||||||
vsnprintf(&msg[0], kPrintBuffer, fmt, args);
|
vsnprintf(&msg[0], kPrintBuffer, fmt, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
|
msg.resize(strlen(msg.c_str());
|
||||||
TrackerPrint(msg);
|
TrackerPrint(msg);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user