Index: devel/obby/files/patch-src__colour.cpp =================================================================== --- devel/obby/files/patch-src__colour.cpp (nonexistent) +++ devel/obby/files/patch-src__colour.cpp (working copy) @@ -0,0 +1,15 @@ +--- src/colour.cpp.orig 2011-10-30 16:52:53.000000000 +0100 ++++ src/colour.cpp 2016-04-08 00:08:57.551412000 +0200 +@@ -47,9 +47,9 @@ unsigned int obby::colour::get_blue() co + bool obby::colour::similar_colour(const colour& colour) const + { + // TODO: Convert to HSV for better checking +- return abs(m_red - colour.m_red) + +- abs(m_green - colour.m_green) + +- abs(m_blue - colour.m_blue) < 32; ++ return abs((int)(m_red - colour.m_red)) + ++ abs((int)(m_green - colour.m_green)) + ++ abs((int)(m_blue - colour.m_blue)) < 32; + } + + std::string serialise::default_context_to:: Property changes on: devel/obby/files/patch-src__colour.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property