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:
baldurk
2018-11-14 15:34:35 +00:00
parent cd6772d8dc
commit 74ce0d92fd
+1 -1
View File
@@ -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);