mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
RichEdit: fabs/abs
git-svn-id: svn://ultimatepp.org/upp/trunk@6808 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
c0bf704112
commit
9dfe24ca10
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ void RichEdit::MouseMove(Point p, dword flags)
|
|||
|
||||
static bool IsObjectPercent(Sizef percent, int p)
|
||||
{
|
||||
return abs(percent.cx - p) < 1 && abs(percent.cy - p) < 1;
|
||||
return fabs(percent.cx - p) < 1 && fabs(percent.cy - p) < 1;
|
||||
}
|
||||
|
||||
static bool IsObjectDelta(int delta, int d)
|
||||
|
|
|
|||
Loading…
Reference in a new issue