Fix condition in demo-glib.c

This commit is contained in:
Přemysl Eric Janouch 2016-11-03 02:24:35 +01:00
parent 258691135f
commit c1251f3978
Signed by: p
GPG Key ID: B715679E3A361BE6

View File

@ -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);