[Kde-games-devel] Patch for KDiamond to fix mouseDrag bug

Stefan Majewsky majewsky at gmx.net
Wed Feb 24 20:46:41 CET 2010


Am Mittwoch, 24. Februar 2010 18:11:07 schrieb Paul Bunbury:
> Hey,
> Enclosed is a patch to fix mouse dragging behaviour in KDiamond. Wanted to
> run it by someone before committing.

Thanks! Committed in r1095660 (trunk) and r1095661 (4.4 branch).

I think the original problem was that "+" is evaluated before "?:", but there 
is also an unnoticed problem in the old code in that 0 becomes -1. Your patch 
fixes all of these problems.

Greetings
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20100224/11b8c698/attachment.sig 


More information about the kde-games-devel mailing list