mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 08:40:55 +00:00
Pad 0 with a preceeding space for signed integer display in buffers
* This means that it lines up with -1 the same as positive numbers do
This commit is contained in:
@@ -928,7 +928,7 @@ private:
|
||||
else if(vt == QMetaType::Int || vt == QMetaType::Short || vt == QMetaType::SChar)
|
||||
{
|
||||
int i = v.toInt();
|
||||
if(i > 0)
|
||||
if(i >= 0)
|
||||
ret = lit(" ") + Formatter::Format(i);
|
||||
else
|
||||
ret = Formatter::Format(i);
|
||||
|
||||
Reference in New Issue
Block a user