diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-11-03 02:24:35 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-11-03 02:24:35 +0100 |
commit | c1251f397885361cd583d06f2514ad635fabf7b8 (patch) | |
tree | 122be378a075126e4e5e60de357bf36c10c095bc | |
parent | 258691135f3df9604e00cf35c3add81412b83241 (diff) | |
download | termo-c1251f397885361cd583d06f2514ad635fabf7b8.tar.gz termo-c1251f397885361cd583d06f2514ad635fabf7b8.tar.xz termo-c1251f397885361cd583d06f2514ad635fabf7b8.zip |
Fix condition in demo-glib.c
-rw-r--r-- | demo-glib.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |