[libgd] build: Fix -Wfloat-equal warning
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgd] build: Fix -Wfloat-equal warning
- Date: Wed, 13 Feb 2013 14:06:14 +0000 (UTC)
commit a75fb29c6ca673342fbd80e01bb34e2cc20eaa2e
Author: Christian Persch <chpe gnome org>
Date: Wed Feb 13 12:34:24 2013 +0100
build: Fix -Wfloat-equal warning
libgd/gd-stack.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgd/gd-stack.c b/libgd/gd-stack.c
index ac373c0..91769ff 100644
--- a/libgd/gd-stack.c
+++ b/libgd/gd-stack.c
@@ -768,7 +768,7 @@ gd_stack_draw (GtkWidget *widget,
if (priv->visible_child)
{
- if (priv->xfade_pos != 1.0)
+ if (priv->xfade_pos < 1.0)
{
if (priv->xfade_surface)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]