~autopilot/autopilot-gtk/trunk

Viewing all changes in revision 45.

  • Committer: Tarmac
  • Author(s): Alberto Mardegan
  • Date: 2013-06-26 10:16:59 UTC
  • mfrom: (36.2.1 lp1176234)
  • Revision ID: tarmac-20130626101659-nsg9529e8c4oya5d
Initialize rect fields to -1

This makes the globalRect variable return negative values (for some reason, not -1 but -2147483648) when the rectangle is offscreen. Fixes: https://bugs.launchpad.net/bugs/1176234.

Approved by Martin Pitt, PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: