From 5632c49945e2f753e6858c64adbc55a089a04d35 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 24 Jun 2009 21:55:44 -0400 Subject: [PATCH] Code Cleanup - Removed references to ::strcmp. Thanks Fredde. --- src/Att.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Att.cpp b/src/Att.cpp index c3b1734ba..f7e92adcd 100644 --- a/src/Att.cpp +++ b/src/Att.cpp @@ -571,7 +571,7 @@ bool Att::match (const Att& other) const } else if (which == "text") { - if (::strcmp (mValue.c_str (), other.mValue.c_str ()) <= 0) + if (mValue <= other.mValue) return false; } } @@ -601,7 +601,7 @@ bool Att::match (const Att& other) const } else if (which == "text") { - if (::strcmp (mValue.c_str (), other.mValue.c_str ()) >= 0) + if (mValue >= other.mValue) return false; } }