Date: 2009-07-08 20:48:55 +0000 (Wed, 08 Jul 2009)
Don't create rectangles that have a zero x or y dimension. When snapping for example to the same point twice then just cancel the rect creation (Fixes bug #375975). And while we're at it, make the rectangle tool escapeable by pressing esc. See also rev. #21706 which was similar but applied to ellipses instead.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.