Commit d9d3ec7c authored by Emmanuele Bassi's avatar Emmanuele Bassi

menu: Fix condition check

A logical "and" became a binary "and" in commit c35878ec.
parent f533ef86
......@@ -5392,7 +5392,7 @@ gtk_menu_scroll_to (GtkMenu *menu,
if (!priv->upper_arrow_visible || !priv->lower_arrow_visible)
gtk_widget_queue_draw (GTK_WIDGET (menu));
if (!priv->upper_arrow_visible &
if (!priv->upper_arrow_visible &&
flags & GTK_MENU_SCROLL_FLAG_ADAPT)
should_offset_by_arrow = TRUE;
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment