3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-27 21:22:36 +01:00

Added newline to pretty function

This commit is contained in:
Pragmatic Software 2010-04-27 22:57:34 +00:00
parent ef4b895cbc
commit 271839b71f
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ sub pretty {
my $result;
my $pid = open2(\*IN, \*OUT, 'astyle -xUpf');
print OUT $code;
print OUT "$code\n";
close OUT;
while(my $line = <IN>) {
$result .= $line;

View File

@ -311,7 +311,7 @@ sub pretty {
my $result;
my $pid = open2(\*IN, \*OUT, 'astyle -xUpf');
print OUT $code;
print OUT "$code\n";
close OUT;
while(my $line = <IN>) {
$result .= $line;