Ticket #53516: wxwidgets.diff
File wxwidgets.diff, 488 bytes (added by chrisjogorman, 8 years ago) |
---|
-
Editor.cxx
old new 10 10 #include <stdio.h> 11 11 #include <ctype.h> 12 12 #include <assert.h> 13 #include <math.h> 13 14 14 15 #include <string> 15 16 #include <vector> … … 5841 5842 } 5842 5843 5843 5844 static bool Close(Point pt1, Point pt2) { 5844 if ( abs(pt1.x - pt2.x) > 3)5845 if (fabs(pt1.x - pt2.x) > 3) 5845 5846 return false; 5846 if ( abs(pt1.y - pt2.y) > 3)5847 if (fabs(pt1.y - pt2.y) > 3) 5847 5848 return false; 5848 5849 return true; 5849 5850 }