3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-19 18:39:35 +01:00

Removing -x option from astyle command in order to support older versions

This commit is contained in:
Pragmatic Software 2010-05-25 06:23:03 +00:00
parent 676bc8f7ba
commit d36cc78bca
2 changed files with 2 additions and 2 deletions

View File

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

View File

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