Skip to content

Commit

Permalink
* debug.c (ruby_debug_print_indent): use length in fprintf.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Feb 23, 2008
1 parent fe80dd7 commit f468e00
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,7 @@ void
ruby_debug_print_indent(int level, int debug_level, int indent_level)
{
if (level < debug_level) {
int i;
for (i = 0; i < indent_level; i++) {
fprintf(stderr, " ");
}
fprintf(stderr, "%*s", indent_level, "");
fflush(stderr);
}
}
Expand Down

0 comments on commit f468e00

Please sign in to comment.