From: <xf...@us...> - 2014-01-30 20:38:47
|
Revision: 1896 http://sourceforge.net/p/scstudio/code/1896 Author: xfarmad Date: 2014-01-30 20:38:43 +0000 (Thu, 30 Jan 2014) Log Message: ----------- Found message extraction from Visio fix Modified Paths: -------------- trunk/src/view/visio/addon/extract.h Modified: trunk/src/view/visio/addon/extract.h =================================================================== --- trunk/src/view/visio/addon/extract.h 2014-01-30 19:09:24 UTC (rev 1895) +++ trunk/src/view/visio/addon/extract.h 2014-01-30 20:38:43 UTC (rev 1896) @@ -128,8 +128,9 @@ bool operator < (const SPoint& p2) const { - int resy = fcmp(m_y, p2.m_y); - return resy < 0 || (resy == 0 && fcmp(m_x, p2.m_x) < 0); + int resx = fcmp(m_x, p2.m_x, 0.0001); + int resy = fcmp(m_y, p2.m_y, 0.0001); + return resy < 0 || (resy == 0 && resx < 0); } }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |