x11: Fix erroneous & to be &&

This commit is contained in:
Krzesimir Nowak 2017-12-14 13:34:06 +01:00 committed by Benjamin Otte
parent 920259c250
commit 5a0fb278d1

View File

@ -309,7 +309,7 @@ gdk_x11_selection_output_stream_invoke_flush (gpointer data)
{ {
GdkX11SelectionOutputStream *stream = GDK_X11_SELECTION_OUTPUT_STREAM (data); GdkX11SelectionOutputStream *stream = GDK_X11_SELECTION_OUTPUT_STREAM (data);
if (gdk_x11_selection_output_stream_needs_flush (stream) & if (gdk_x11_selection_output_stream_needs_flush (stream) &&
gdk_x11_selection_output_stream_can_flush (stream)) gdk_x11_selection_output_stream_can_flush (stream))
gdk_x11_selection_output_stream_perform_flush (stream); gdk_x11_selection_output_stream_perform_flush (stream);
@ -615,7 +615,7 @@ gdk_x11_selection_output_stream_xevent (GdkDisplay *display,
GDK_NOTE(SELECTION, g_printerr ("%s:%s: got PropertyNotify Delete during INCR\n", GDK_NOTE(SELECTION, g_printerr ("%s:%s: got PropertyNotify Delete during INCR\n",
priv->selection, priv->target)); priv->selection, priv->target));
priv->delete_pending = FALSE; priv->delete_pending = FALSE;
if (gdk_x11_selection_output_stream_needs_flush (stream) & if (gdk_x11_selection_output_stream_needs_flush (stream) &&
gdk_x11_selection_output_stream_can_flush (stream)) gdk_x11_selection_output_stream_can_flush (stream))
gdk_x11_selection_output_stream_perform_flush (stream); gdk_x11_selection_output_stream_perform_flush (stream);
return FALSE; return FALSE;