mirror of https://github.com/GNOME/gimp.git
create code with spaces instead of tabs.
2006-04-12 Sven Neumann <sven@gimp.org> * tools/pdbgen/lib.pl: create code with spaces instead of tabs. * libgimp/gimp*_pdb.[ch]: regenerated.
This commit is contained in:
parent
5583a9048e
commit
8824a9bc86
|
@ -1,3 +1,9 @@
|
|||
2006-04-12 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* tools/pdbgen/lib.pl: create code with spaces instead of tabs.
|
||||
|
||||
* libgimp/gimp*_pdb.[ch]: regenerated.
|
||||
|
||||
2006-04-12 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* tools/gimp-remote.c
|
||||
|
|
|
@ -157,7 +157,7 @@ sub generate {
|
|||
$argdesc .= ": $desc";
|
||||
|
||||
# This is what's passed into gimp_run_procedure
|
||||
$argpass .= "\n\t\t\t\t" . ' ' x 4;
|
||||
$argpass .= "\n" . ' ' x 36;
|
||||
$argpass .= "GIMP_PDB_$arg->{name}, ";
|
||||
|
||||
$argpass .= "$_->{name}";
|
||||
|
@ -433,8 +433,7 @@ CODE
|
|||
|
||||
my $clist = $arglist;
|
||||
my $padlen = length($wrapped) + length($funcname) + 2;
|
||||
my $padtab = $padlen / 8; my $padspace = $padlen % 8;
|
||||
my $padding = "\t" x $padtab . ' ' x $padspace;
|
||||
my $padding = ' ' x $padlen;
|
||||
$clist =~ s/\t/$padding/eg;
|
||||
|
||||
unless ($retdesc =~ /[\.\!\?]$/) { $retdesc .= '.' }
|
||||
|
@ -612,8 +611,6 @@ LGPL
|
|||
$arg .= ' ' x ($longest[0] - length($type) + 1) . $func;
|
||||
$arg .= ' ' x ($longest[1] - length($func) + 1) . $arglist;
|
||||
$arg =~ s/\t/' ' x ($longest[0] + $longest[1] + 3)/eg;
|
||||
|
||||
while ($arg =~ /^\t* {8}/m) { $arg =~ s/^(\t*) {8}/$1\t/mg }
|
||||
}
|
||||
else {
|
||||
$arg = $_;
|
||||
|
|
Loading…
Reference in New Issue