Skip to content

Commit

Permalink
[ufo] fixed logic bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Masak committed Jun 2, 2010
1 parent 356ddd8 commit 1011bf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ufo
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ my @sources = map { &module-name-to-path($_) }, @order;
my $sources = 'SOURCES=';
my $line-length = 0;
for @sources -> $source {
$line-length += $source.chars;
$line-length += $source.chars + 1;
if $line-length > 65 {
# SOURCES=
$sources ~= "\\\n ";
$line-length = 0;
$line-length = $source.chars + 1;
}
$sources ~= $source ~ ' ';
}
Expand Down

0 comments on commit 1011bf0

Please sign in to comment.