mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 08:37:24 +01:00 
			
		
		
		
	Removing -x option from astyle command in order to support older versions
This commit is contained in:
		
							parent
							
								
									676bc8f7ba
								
							
						
					
					
						commit
						d36cc78bca
					
				@ -143,7 +143,7 @@ sub pretty {
 | 
			
		||||
  my $code = join '', @_;
 | 
			
		||||
  my $result;
 | 
			
		||||
 | 
			
		||||
  my $pid = open2(\*IN, \*OUT, 'astyle -xUpf');
 | 
			
		||||
  my $pid = open2(\*IN, \*OUT, 'astyle -Upf');
 | 
			
		||||
  print OUT "$code\n";
 | 
			
		||||
  close OUT;
 | 
			
		||||
  while(my $line = <IN>) {
 | 
			
		||||
 | 
			
		||||
@ -767,7 +767,7 @@ sub pretty {
 | 
			
		||||
  my $code = join '', @_;
 | 
			
		||||
  my $result;
 | 
			
		||||
 | 
			
		||||
  my $pid = open2(\*IN, \*OUT, 'astyle -xUpf');
 | 
			
		||||
  my $pid = open2(\*IN, \*OUT, 'astyle -Upf');
 | 
			
		||||
  print OUT "$code\n";
 | 
			
		||||
  close OUT;
 | 
			
		||||
  while(my $line = <IN>) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user