summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_debug.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class
index fa4cbd9..6d66d21 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -255,7 +255,7 @@ static function backtrace($p = array())
}
foreach ($locations as $idx => $location)
- $result .= substr($location . " ", 0, $maxlen) . " " . $funcs[$idx] . "\n";
+ $result .= str_pad($location, $maxlen + 2) . $funcs[$idx] . "\n";
}
else
{