testbot/VMs: Fix a couple of indentation bugs.
Francois Gouget
fgouget at codeweavers.com
Thu May 1 07:35:09 CDT 2014
---
2-space indent is the standard in WineTestBot (at least for existing
files :-( ).
testbot/lib/WineTestBot/VMs.pm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/testbot/lib/WineTestBot/VMs.pm b/testbot/lib/WineTestBot/VMs.pm
index 571c9e6..e35ba4d 100644
--- a/testbot/lib/WineTestBot/VMs.pm
+++ b/testbot/lib/WineTestBot/VMs.pm
@@ -416,11 +416,11 @@ my %StreamData;
sub _Stream2Image($$$)
{
- my ($Stream, $Data, $Size) = @_;
- my $Image=$StreamData{$Stream};
- $Image->{Size} += $Size;
- $Image->{Bytes} .= $Data;
- return $Size;
+ my ($Stream, $Data, $Size) = @_;
+ my $Image = $StreamData{$Stream};
+ $Image->{Size} += $Size;
+ $Image->{Bytes} .= $Data;
+ return $Size;
}
sub CaptureScreenImage($)
@@ -507,7 +507,7 @@ sub Validate
if ($self->Type ne "win32" && $self->Type ne "win64" &&
($self->Role eq "winetest" || $self->Role eq "extra"))
{
- return ("Role", "Only win32 and win64 VMs can have a role of '" . $self->Role . "'");
+ return ("Role", "Only win32 and win64 VMs can have a role of '" . $self->Role . "'");
}
return $self->SUPER::Validate(@_);
}
--
1.9.2
More information about the wine-patches
mailing list