testbot/lib: Fix the call to ValuesDiffer() in Item::AUTOLOAD.
Francois Gouget
fgouget at codeweavers.com
Thu May 1 07:36:25 CDT 2014
ValuesDiffer() is a method, not a function!
---
testbot/lib/ObjectModel/Item.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testbot/lib/ObjectModel/Item.pm b/testbot/lib/ObjectModel/Item.pm
index 48864f4..f988a46 100644
--- a/testbot/lib/ObjectModel/Item.pm
+++ b/testbot/lib/ObjectModel/Item.pm
@@ -1,5 +1,5 @@
# Copyright 2009 Ge van Geldorp
-# Copyright 2012 Francois Gouget
+# Copyright 2012, 2014 Francois Gouget
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -218,8 +218,8 @@ sub AUTOLOAD
if (@_)
{
$self->{Itemrefs}{$PropertyName} = shift;
- if (ValuesDiffer($self->{ColValues}{@{$ColNames}[0]},
- $self->{Itemrefs}{$PropertyName}->GetKey()))
+ if ($self->ValuesDiffer($self->{ColValues}{@{$ColNames}[0]},
+ $self->{Itemrefs}{$PropertyName}->GetKey()))
{
$self->{IsModified} = 1;
$self->{ColValues}{@{$ColNames}[0]} = $self->{Itemrefs}{$PropertyName}->GetKey();
--
1.9.2
More information about the wine-patches
mailing list