Commit fbc3db8b authored by Matthias Clasen's avatar Matthias Clasen

Fix scroll_offset handling

scroll_offset can be negative here, so replace a > 0 test
by != 0.
parent f1bfdda3
......@@ -4807,7 +4807,7 @@ gtk_menu_position (GtkMenu *menu,
priv->position_y = y;
}
if (scroll_offset > 0)
if (scroll_offset != 0)
{
GtkBorder arrow_border;
......
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