diff options
Diffstat (limited to 'skia/sgl/SkScan_Path.cpp')
-rw-r--r-- | skia/sgl/SkScan_Path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skia/sgl/SkScan_Path.cpp b/skia/sgl/SkScan_Path.cpp index 81b0233..4e58518 100644 --- a/skia/sgl/SkScan_Path.cpp +++ b/skia/sgl/SkScan_Path.cpp @@ -368,7 +368,7 @@ extern "C" { valuea = edgea->fX; valueb = edgeb->fX; } - return valuea - valueb; + return valuea > valueb ? 1 : valuea < valueb ? -1 : 0; } } |