Clarify comparison.

This commit is contained in:
Xavi Artigas 2012-06-25 11:07:24 +02:00
parent d9b9e9bf11
commit 17d3c4557d

View file

@ -94,7 +94,7 @@ static void print_current_values (GstElement *pipeline) {
static gboolean handle_keyboard (GIOChannel *source, GIOCondition cond, CustomData *data) {
gchar *str = NULL;
if (!g_io_channel_read_line (source, &str, NULL, NULL, NULL) == G_IO_STATUS_NORMAL) {
if (g_io_channel_read_line (source, &str, NULL, NULL, NULL) != G_IO_STATUS_NORMAL) {
return TRUE;
}