mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
fix
This commit is contained in:
parent
a27d23524c
commit
474a856c88
@ -148,7 +148,7 @@ char* PrintFloatFixedWidth( char* begin, char* end, T value, int fixedWidth ) {
|
|||||||
assert( width <= fixedWidth );
|
assert( width <= fixedWidth );
|
||||||
char* dstPtr = begin;
|
char* dstPtr = begin;
|
||||||
for( int i = width; i < fixedWidth; ++i ) {
|
for( int i = width; i < fixedWidth; ++i ) {
|
||||||
assert( end > begin );
|
assert( end > dstPtr );
|
||||||
*dstPtr++ = ' ';
|
*dstPtr++ = ' ';
|
||||||
}
|
}
|
||||||
assert( end > dstPtr + width );
|
assert( end > dstPtr + width );
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user