From c1251f397885361cd583d06f2514ad635fabf7b8 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Thu, 3 Nov 2016 02:24:35 +0100
Subject: Fix condition in demo-glib.c
---
demo-glib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/demo-glib.c b/demo-glib.c
index 80f3a7b..bb641f6 100644
--- a/demo-glib.c
+++ b/demo-glib.c
@@ -28,7 +28,7 @@ key_timer (gpointer data)
static gboolean
stdin_io (GIOChannel *source, GIOCondition condition, gpointer data)
{
- if (condition && G_IO_IN)
+ if (condition & G_IO_IN)
{
if (timeout_id)
g_source_remove (timeout_id);
--
cgit v1.2.3-70-g09d2