Browse Source

Fix condition in demo-glib.c

master
Přemysl Eric Janouch 5 years ago
parent
commit
c1251f3978
Signed by: p GPG Key ID: B715679E3A361BE6
  1. 2
      demo-glib.c

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

Loading…
Cancel
Save