Fixed up some silly issues with the client tag system.

This commit is contained in:
Shyotl
2013-02-17 02:54:30 -06:00
parent 51cbb8d6bd
commit 4cc35d6c66
7 changed files with 41 additions and 21 deletions

View File

@@ -598,7 +598,7 @@ bool llsd_equals(const LLSD& lhs, const LLSD& rhs, unsigned bits)
case LLSD::TypeReal:
// This is where the 'bits' argument comes in handy. If passed
// explicitly, it means to use is_approx_equal_fraction() to compare.
if (bits >= 0)
if (bits != -1)
{
return is_approx_equal_fraction(lhs.asReal(), rhs.asReal(), bits);
}