[Spice-devel] [PATCH 05/24] build: s/HUGE/INFINITY/

Alon Levy alevy at redhat.com
Tue Dec 7 13:28:04 PST 2010


From: Gerd Hoffmann <kraxel at redhat.com>

Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 client/red_client.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/red_client.cpp b/client/red_client.cpp
index 46d5602..e1f5a42 100644
--- a/client/red_client.cpp
+++ b/client/red_client.cpp
@@ -638,7 +638,7 @@ void RedClient::send_agent_monitors_config()
         THROW(" monitors query failed");
     }
 
-    double min_distance = HUGE;
+    double min_distance = INFINITY;
     int dx = 0;
     int dy = 0;
     int i;
-- 
1.7.3.2



More information about the Spice-devel mailing list